:(

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 '' at line 1 [ SQL语句 ] : SELECT a.id AS id,a.pid AS pid,a.user_id AS user_id,a.book_id AS book_id,a.chapter_id AS chapter_id,a.type AS type,a.status AS status,a.who AS who,a.title AS title,a.content AS content,a.is_del AS is_del,a.is_top AS is_top,a.is_good AS is_good,a.old_id AS old_id,a.create_time AS create_time,a.update_time AS update_time,a.is_check AS is_check,b.nickname AS nickname,b.avatar AS avatar,c.level_id AS level_id,d.name AS name,d.cover AS cover,d.m_cover AS m_cover FROM cm_book_comment a LEFT JOIN cm_user b ON a.user_id=b.id LEFT JOIN cm_book_pink c ON a.user_id=c.user_id and a.book_id=c.book_id LEFT JOIN cm_pink_level d ON c.level_id=d.id WHERE pid=826775 and is_del=0 ORDER BY a.create_time desc LIMIT 0,

错误位置

FILE: /data/www/web/lyunbook/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[24-03-28 19:30:03] /data/www/web/lyunbook/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 '' at line 1
[ SQL语句 ] : SELECT a.id AS id,a.pid AS pid,a.user_id AS user_id,a.book_id AS book_id,a.chapter_id AS chapter_id,a.type AS type,a.status AS status,a.who AS who,a.title AS title,a.content AS content,a.is_del AS is_del,a.is_top AS is_top,a.is_good AS is_good,a.old_id AS old_id,a.create_time AS create_time,a.update_time AS update_time,a.is_check AS is_check,b.nickname AS nickname,b.avatar AS avatar,c.level_id AS level_id,d.name AS name,d.cover AS cover,d.m_cover AS m_cover FROM cm_book_comment a LEFT JOIN cm_user b ON a.user_id=b.id LEFT JOIN cm_book_pink c ON a.user_id=c.user_id and a.book_id=c.book_id LEFT JOIN cm_pink_level d ON c.level_id=d.id WHERE pid=826775 and is_del=0 ORDER BY a.create_time desc LIMIT 0, , , ERR)
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT a.id AS id,a.pid AS pid,a.user_id AS user_id,a.book_id AS book_id,a.chapter_id AS chapter_id,a.type AS type,a.status AS status,a.who AS who,a.title AS title,a.content AS content,a.is_del AS is_del,a.is_top AS is_top,a.is_good AS is_good,a.old_id AS old_id,a.create_time AS create_time,a.update_time AS update_time,a.is_check AS is_check,b.nickname AS nickname,b.avatar AS avatar,c.level_id AS level_id,d.name AS name,d.cover AS cover,d.m_cover AS m_cover FROM cm_book_comment a LEFT JOIN cm_user b ON a.user_id=b.id LEFT JOIN cm_book_pink c ON a.user_id=c.user_id and a.book_id=c.book_id LEFT JOIN cm_pink_level d ON c.level_id=d.id WHERE pid=826775 and is_del=0 ORDER BY a.create_time desc LIMIT 0, )
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Core/Model.class.php (497) Db->select(Array)
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Extend/Vendor/Info/Book/Book.class.php (1036) Model->select()
[24-03-28 19:30:03] /data/www/web/lyunbook/www.lingyun5.com/Web/Lib/Action/BookAction.class.php (1062) Book->commentReply(826775)
[24-03-28 19:30:03] () BookAction->CommentReply()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/Common/runtime.php (243) Think::start()
[24-03-28 19:30:03] /data/www/web/lyunbook/ThinkPHP/ThinkPHP.php (30) require(/data/www/web/lyunbook/ThinkPHP/Common/runtime.php)
[24-03-28 19:30:03] /data/www/web/lyunbook/www.lingyun5.com/index.php (13) require(/data/www/web/lyunbook/ThinkPHP/ThinkPHP.php)