:-O
SQL execute error: INSERT INTO `pre_table` (`table`,`table_id`,`create_time`) VALUES ('spider_log',1,1760262099) |SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'spider_log' for key 'table' Code: 23000
File:
File:/data/wwwroot/zhanqun_game/coolphp/Connection.php Line:1371
Trace
Exception: SQL execute error: INSERT INTO `pre_table` (`table`,`table_id`,`create_time`) VALUES ('spider_log',1,1760262099) |SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'spider_log' for key 'table' Code: 23000 in /data/wwwroot/zhanqun_game/coolphp/Connection.php:1371
Stack trace:
#0 /data/wwwroot/zhanqun_game/coolphp/Connection.php(1314): Cool\Connection->throwException()
#1 /data/wwwroot/zhanqun_game/coolphp/Connection.php(844): Cool\Connection->_execute()
#2 /data/wwwroot/zhanqun_game/coolphp/Connection.php(873): Cool\Connection->execute()
#3 /data/wwwroot/zhanqun_game/coolphp/Model.php(163): Cool\Connection->insert()
#4 /data/wwwroot/zhanqun_game/app/Model/Table.php(76): Cool\Model::insert()
#5 /data/wwwroot/zhanqun_game/app/Model/SpiderLog.php(22): App\Model\Table::createTable()
#6 /data/wwwroot/zhanqun_game/app/Model/Spider.php(102): App\Model\SpiderLog::addSpiderLog()
#7 /data/wwwroot/zhanqun_game/app/Model/Spider.php(48): App\Model\Spider::addSpiderLog()
#8 /data/wwwroot/zhanqun_game/coolphp/Support/Helper.php(1428): App\Model\Spider::isSpider()
#9 /data/wwwroot/zhanqun_game/app/Controller/Www/InitController.php(14): isSpider()
#10 [internal function]: App\Controller\Www\InitController->__construct()
#11 /data/wwwroot/zhanqun_game/coolphp/Container.php(166): ReflectionClass->newInstanceArgs()
#12 /data/wwwroot/zhanqun_game/coolphp/Container.php(128): Cool\Container->build()
#13 /data/wwwroot/zhanqun_game/coolphp/App.php(19): Cool\Container->get()
#14 /data/wwwroot/zhanqun_game/public/tj336.cn/index.php(4): Cool\App::run()
#15 {main}