:(

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 'LIMIT 1' at line 1 [ SQL语句 ] : SELECT * FROM `jz3_category` WHERE catid= LIMIT 1

错误位置

FILE: /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/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 'LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `jz3_category` WHERE catid= LIMIT 1 , , ERR)
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `jz3_category` WHERE catid= LIMIT 1 )
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Core/Model.class.php (597) Db->select(Array)
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/Cn/Lib/Action/App/ColumnfirstAction.class.php (62) Model->find()
[24-03-29 05:15:03] () ColumnfirstAction->show()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/Common/runtime.php (243) Think::start()
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/ThinkPHP/ThinkPHP.php (30) require(/www/wwwroot/www.shangdingguoji.com/ThinkPHP/Common/runtime.php)
[24-03-29 05:15:03] /www/wwwroot/www.shangdingguoji.com/index.php (21) require(/www/wwwroot/www.shangdingguoji.com/ThinkPHP/ThinkPHP.php)