Всем привет, проблема заключается в том, что когда открываешь любую тему, выкидывает 500 ошибку, что делать? Вот вырезка из журнала.
#0 /public_html/forum/system/Db/Exception.php(109): IPS\_Log::log('Duplicate entry...', 'sql')
#1 /public_html/forum/system/Db/Db.php(432): IPS\Db\_Exception->__construct('Duplicate entry...', 1062, NULL, 'INSERT INTO `co...', Array)
#2 /public_html/forum/system/Db/Db.php(695): IPS\_Db->preparedQuery('INSERT INTO `co...', Array)
#3/public_html/forum/init.php(441) : eval()'d code(97): IPS\_Db->insert('core_sessions', Array)
#4 /public_html/forum/system/Dispatcher/Dispatcher.php(86): IPS\Dispatcher\hook35->init()
#5 /public_html/forum/index.php(13): IPS\_Dispatcher::i()
#6 {main}
Duplicate entry '30' for key 'member_id'
INSERT INTO `core_sessions` ( `id`, `member_name`, `seo_name`, `member_id`, `ip_address`, `browser`, `running_time`, `login_type`, `member_group`, `data`, `current_appcomponent`, `current_module`, `current_controller`, `location_url`, `location_lang`, `location_data`, `current_id`, `uagent_key`, `uagent_version`, `uagent_type`, `is_generated`, `generated_expire` ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
Array
(
[0] => 2c0620dbbca050eeb086a5cbfcbdb4e0
[1] => Dinocheater
[2] => dinocheater
[3] => 30
[4] => 5.141.232.196
[5] => Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
[6] => 1481658716
[7] => 0
[8] => 3
[9] =>
[10] => forums
[11] => forums
[12] => index
[13] => IPS\Http\Url\Friendly Object
(
[base] => front
[seoTemplate] => forums
[seoTitles] => Array
(
)
[friendlyUrlComponent] =>
[isInternal] => 1
[isFriendly] => 1
[url:protected] => *name*
[data] => Array
(
[scheme] => http
[host] => new.hia3.com
[port] =>
[user] =>
[pass] =>
[path] =>
[query] =>
[fragment] =>
)
[queryString] => Array
(
)
[hiddenQueryString] => Array
(
[app] => forums
[module] => forums
[controller] => index
)
)
[14] => loc_forums_index
[15] =>
[16] =>
[17] => opera
[18] => 8
[19] => browser
[20] => 1
[21] => 1481660345
)
| File | Function | Line No. |
|----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|
| /system/Db/Db.php | [IPS\Db\_Exception].__construct | 432 |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| /system/Db/Db.php | [IPS\_Db].preparedQuery | 695 |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| /init.php(441) : eval()'d code | [IPS\_Db].insert | 97 |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| /system/Dispatcher/Dispatcher.php | [IPS\Dispatcher\hook35].init | 86 |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
| /index.php | [IPS\_Dispatcher].i | 13 |
'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'