:(

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 `sp_blog` WHERE id = LIMIT 1

错误位置

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

TRACE

[24-11-17 09:43:11] /www/wwwroot/086019.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 `sp_blog` WHERE id = LIMIT 1 , , ERR)
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `sp_blog` WHERE id = LIMIT 1 )
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Model.class.php (597) Db->select(Array)
[24-11-17 09:43:11] /www/wwwroot/086019.com/Application/Lib/Action/Home/blogAction.class.php (104) Model->find()
[24-11-17 09:43:11] () blogAction->info()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/App.class.php (183) ReflectionMethod->invoke()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/App.class.php (219) App::exec()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/Common/runtime.php (243) Think::start()
[24-11-17 09:43:11] /www/wwwroot/086019.com/ThinkPHP/ThinkPHP.php (34) require(/www/wwwroot/086019.com/ThinkPHP/Common/runtime.php)
[24-11-17 09:43:11] /www/wwwroot/086019.com/index.php (32) require(/www/wwwroot/086019.com/ThinkPHP/ThinkPHP.php)