:-O
SQL execute error: SELECT route_id,file,router,rewrite,rewrite_page,rewrite_custom,rewrite_page_custom FROM `pre_route` WHERE `route_id` > 1 AND `status` = 1 ORDER BY sort asc |SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhanqun_peixun.pre_route' doesn't exist Code: 42S02
File:
File:/data/wwwroot/training_system/client/coolphp/Connection.php Line:1371
Trace
Exception: SQL execute error: SELECT route_id,file,router,rewrite,rewrite_page,rewrite_custom,rewrite_page_custom FROM `pre_route` WHERE `route_id` > 1 AND `status` = 1 ORDER BY sort asc |SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhanqun_peixun.pre_route' doesn't exist Code: 42S02 in /data/wwwroot/training_system/client/coolphp/Connection.php:1371
Stack trace:
#0 /data/wwwroot/training_system/client/coolphp/Connection.php(1314): Cool\Connection->throwException(Object(PDOException), 'SELECT route_id...', Array)
#1 /data/wwwroot/training_system/client/coolphp/Connection.php(806): Cool\Connection->_execute('SELECT route_id...', Array, true)
#2 /data/wwwroot/training_system/client/coolphp/Connection.php(514): Cool\Connection->query('SELECT route_id...', Array, 'all')
#3 /data/wwwroot/training_system/client/app/Model/SeoRewrite.php(201): Cool\Connection->select()
#4 /data/wwwroot/training_system/client/app/Model/SeoRewrite.php(189): App\Model\SeoRewrite::updateCache(8)
#5 /data/wwwroot/training_system/client/coolphp/Support/Helper.php(1192): App\Model\SeoRewrite::getCache(8)
#6 /data/wwwroot/training_system/client/coolphp/Support/Helper.php(1077): rewrite(8, 'article_detail')
#7 /data/wwwroot/training_system/client/app/Model/Article.php(86): urlCustom('article_detail', 0, '', 3194952)
#8 /data/wwwroot/training_system/client/app/Controller/Api/Article/DetailController.php(18): App\Model\Article::getDetail(3194952)
#9 [internal function]: App\Controller\Api\Article\DetailController->index()
#10 /data/wwwroot/training_system/client/coolphp/App.php(27): call_user_func_array(Array, Array)
#11 /data/wwwroot/training_system/client/public/menshaoji.com/index.php(4): Cool\App::run()
#12 {main}
Stack trace:
#0 /data/wwwroot/training_system/client/coolphp/Connection.php(1314): Cool\Connection->throwException(Object(PDOException), 'SELECT route_id...', Array)
#1 /data/wwwroot/training_system/client/coolphp/Connection.php(806): Cool\Connection->_execute('SELECT route_id...', Array, true)
#2 /data/wwwroot/training_system/client/coolphp/Connection.php(514): Cool\Connection->query('SELECT route_id...', Array, 'all')
#3 /data/wwwroot/training_system/client/app/Model/SeoRewrite.php(201): Cool\Connection->select()
#4 /data/wwwroot/training_system/client/app/Model/SeoRewrite.php(189): App\Model\SeoRewrite::updateCache(8)
#5 /data/wwwroot/training_system/client/coolphp/Support/Helper.php(1192): App\Model\SeoRewrite::getCache(8)
#6 /data/wwwroot/training_system/client/coolphp/Support/Helper.php(1077): rewrite(8, 'article_detail')
#7 /data/wwwroot/training_system/client/app/Model/Article.php(86): urlCustom('article_detail', 0, '', 3194952)
#8 /data/wwwroot/training_system/client/app/Controller/Api/Article/DetailController.php(18): App\Model\Article::getDetail(3194952)
#9 [internal function]: App\Controller\Api\Article\DetailController->index()
#10 /data/wwwroot/training_system/client/coolphp/App.php(27): call_user_func_array(Array, Array)
#11 /data/wwwroot/training_system/client/public/menshaoji.com/index.php(4): Cool\App::run()
#12 {main}