:(

错误位置

FILE: /www/web/www_yonzan_com/public_html/Core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Driver/Db/DbMysql.class.php (320) trace(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and id < 27 ORDER BY id asc LIMIT 1' at line 1
[ SQL语句 ] : SELECT `id`,`url`,`title` FROM `ke_article` WHERE catid = and id < 27 ORDER BY id asc LIMIT 1 , , ERR)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT `id`,`url`,`title` FROM `ke_article` WHERE catid = and id < 27 ORDER BY id asc LIMIT 1 )
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/Model.class.php (597) Db->select(Array)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Usezan/Common/common.php (2044) Model->find()
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Usezan/Lib/Action/BaseAction.class.php(2) : eval()'d code(1) : eval()'d code (300) preNext(, 27)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Usezan/Lib/Action/Home/EmptyAction.class.php(2) : eval()'d code(1) : eval()'d code (66) BaseAction->show(27, Article)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/Action.class.php (210) EmptyAction->_empty(show, )
[18-09-20 20:36:09] () Action->__call(show, )
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/App.class.php (198) ReflectionMethod->invokeArgs(, Array)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/App.class.php (218) App::exec()
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Lib/Core/Think.class.php (39) App::run()
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Common/runtime.php (253) Think::start()
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/Core/Core.php (30) require(/www/web/www_yonzan_com/public_html/Core/Common/runtime.php)
[18-09-20 20:36:09] /www/web/www_yonzan_com/public_html/index.php (20) require(/www/web/www_yonzan_com/public_html/Core/Core.php)