У меня чтото часто начались появлятся ошибки
Код: Выделить всё
Ошибка
Пожалуйста, свяжитесь с админом, если ошибка повторится. Ошибка №: 22
а в админке в закладке ошибки вот что вижу
Код: Выделить всё
Дата 2011-08-07 21:54:05 UNIX_TIME 1312743245
id Игрока ID 0
Адрес страницы /admin/overview.php
Тип 500 SQL Error
Текст ошибки
Duplicate entry '1312743245' for key 'onlinetime'
UPDATE `sn_users` SET `onlinetime` = '1312743245', `user_lastip` = '93.79.167.123', `user_proxy` = '', `user_agent` = 'Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0' WHERE `id` = '1' LIMIT 1;
Отладочная информация
backtrace = array(3)
2 => array(4)
file => string(58) /home/www/supernova-ws/includes/functions/sys_security.php
line => integer 74
function => string(7) doquery
args => array(1)
0 => string(213) UPDATE∴`{{users}}`∴SET∴`onlinetime`∴∴=∴'1312743245',∴`user_lastip`∴=∴'93.79.167.123',∴`user_proxy`∴∴=∴'',∴`user_agent`∴∴=∴'Mozilla/5.0∴(Windows∴NT∴5.1;∴rv:5.0)∴Gecko/20100101∴Firefox/5.0'∴WHERE∴`id`∴=∴'1'∴LIMIT∴1;
3 => array(4)
file => string(33) /home/www/supernova-ws/common.php
line => integer 12
function => string(12) sn_autologin
args => array(1)
0 => boolean true
4 => array(4)
file => string(41) /home/www/supernova-ws/admin/overview.php
line => integer 15
args => array(1)
0 => string(33) /home/www/supernova-ws/common.php
function => string(7) require
Query log
Number Query Page Table Rows
user = array(0)
planetrow = NULL
$_GET = array(0)
$_POST = array(0)
$_COOKIES = NULL
$_SESSION = NULL
$_SERVER = array(28)
HTTP_HOST => string(25) site
HTTP_USER_AGENT => string(63) Mozilla/5.0∴(Windows∴NT∴5.1;∴rv:5.0)∴Gecko/20100101∴Firefox/5.0
HTTP_ACCEPT => string(63) text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE => string(35) ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_ENCODING => string(13) gzip,∴deflate
HTTP_ACCEPT_CHARSET => string(32) windows-1251,utf-8;q=0.7,*;q=0.7
HTTP_CONNECTION => string(10) keep-alive
HTTP_REFERER => string(45) http://site/announce.php
HTTP_COOKIE => string(77) SuperNova=1%2F%25%2Fviktor%2F%25%2F5375cc7dd3b4ab7b6adee34cd2b4be31%2F%25%2F1
PATH => string(28) /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE => string(70) <address>Apache∴Server∴at∴site∴Port∴80</address>¶;
SERVER_SOFTWARE => string(6) Apache
SERVER_NAME => string(25) site
SERVER_ADDR => string(11) 77.121.4.50
SERVER_PORT => string(2) 80
REMOTE_ADDR => string(13) 93.79.167.123
DOCUMENT_ROOT => string(22) /home/www/supernova-ws
SERVER_ADMIN => string(15) viktor6@ukr.net
SCRIPT_FILENAME => string(41) /home/www/supernova-ws/admin/overview.php
REMOTE_PORT => string(4) 4403
GATEWAY_INTERFACE => string(7) CGI/1.1
SERVER_PROTOCOL => string(8) HTTP/1.1
REQUEST_METHOD => string(3) GET
QUERY_STRING => string(0)
REQUEST_URI => string(19) /admin/overview.php
SCRIPT_NAME => string(19) /admin/overview.php
PHP_SELF => string(19) /admin/overview.php
REQUEST_TIME => integer 1312743245
Код: Выделить всё
Дата 2011-08-07 21:53:28 UNIX_TIME 1312743208
id Игрока ID 0
Адрес страницы /chat_msg.php
Тип 500 SQL Error
Текст ошибки
Duplicate entry '1312743208' for key 'onlinetime'
UPDATE `sn_users` SET `onlinetime` = '1312743208', `user_lastip` = '93.79.249.67', `user_proxy` = '', `user_agent` = 'Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.9.168 Version/11.50' WHERE `id` = '90' LIMIT 1;
Отладочная информация
backtrace = array(3)
2 => array(4)
file => string(58) /home/www/supernova-ws/includes/functions/sys_security.php
line => integer 74
function => string(7) doquery
args => array(1)
0 => string(213) UPDATE∴`{{users}}`∴SET∴`onlinetime`∴∴=∴'1312743208',∴`user_lastip`∴=∴'93.79.249.67',∴`user_proxy`∴∴=∴'',∴`user_agent`∴∴=∴'Opera/9.80∴(Windows∴NT∴5.1;∴U;∴ru)∴Presto/2.9.168∴Version/11.50'∴WHERE∴`id`∴=∴'90'∴LIMIT∴1;
3 => array(4)
file => string(33) /home/www/supernova-ws/common.php
line => integer 12
function => string(12) sn_autologin
args => array(1)
0 => boolean true
4 => array(4)
file => string(35) /home/www/supernova-ws/chat_msg.php
line => integer 27
args => array(1)
0 => string(33) /home/www/supernova-ws/common.php
function => string(7) include
Query log
Number Query Page Table Rows
user = array(0)
planetrow = NULL
$_GET = array(0)
$_POST = array(1)
ally => string(0)
$_COOKIES = NULL
$_SESSION = NULL
$_SERVER = array(31)
HTTP_USER_AGENT => string(63) Opera/9.80∴(Windows∴NT∴5.1;∴U;∴ru)∴Presto/2.9.168∴Version/11.50
HTTP_HOST => string(25) site
HTTP_ACCEPT_LANGUAGE => string(23) ru-RU,ru;q=0.9,en;q=0.8
HTTP_ACCEPT_ENCODING => string(13) gzip,∴deflate
HTTP_REFERER => string(41) http://site/chat.php
HTTP_COOKIE => string(78) SuperNova=90%2F%25%2Fkiller%2F%25%2F1524286eec1d4dfb322e5528c631b881%2F%25%2F1
HTTP_CONNECTION => string(10) Keep-Alive
CONTENT_LENGTH => string(1) 5
CONTENT_TYPE => string(33) application/x-www-form-urlencoded
HTTP_X_REQUESTED_WITH => string(14) XMLHttpRequest
HTTP_ACCEPT => string(3) */*
HTTP_CONTENT_TRANSFER_ENCODING => string(6) binary
PATH => string(28) /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE => string(70) <address>Apache∴Server∴at∴site∴Port∴80</address>¶;
SERVER_SOFTWARE => string(6) Apache
SERVER_NAME => string(25) site
SERVER_ADDR => string(11) 77.121.4.50
SERVER_PORT => string(2) 80
REMOTE_ADDR => string(12) 93.79.249.67
DOCUMENT_ROOT => string(22) /home/www/supernova-ws
SERVER_ADMIN => string(15) viktor6@ukr.net
SCRIPT_FILENAME => string(35) /home/www/supernova-ws/chat_msg.php
REMOTE_PORT => string(4) 2438
GATEWAY_INTERFACE => string(7) CGI/1.1
SERVER_PROTOCOL => string(8) HTTP/1.1
REQUEST_METHOD => string(4) POST
QUERY_STRING => string(0)
REQUEST_URI => string(13) /chat_msg.php
SCRIPT_NAME => string(13) /chat_msg.php
PHP_SELF => string(13) /chat_msg.php
REQUEST_TIME => integer 1312743208