FILE: /webuse/ayhy/ThinkPHP/Lib/Driver/Db/DbMysql.class.php LINE: 320
错误位置
TRACE
[24-11-01 08:03:11] /webuse/ayhy/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 'index and status in (0,2,4,6) and is_show=0 LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `cm_book_chapter_info` WHERE id=index and status in (0,2,4,6) and is_show=0 LIMIT 1 , , ERR)
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `cm_book_chapter_info` WHERE id=index and status in (0,2,4,6) and is_show=0 LIMIT 1 )
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Core/Model.class.php (597) Db->select(Array)
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Extend/Vendor/Info/Book/Book.class.php (613) Model->find()
[24-11-01 08:03:11] /webuse/ayhy/m/M/Lib/Action/BookAction.class.php (1393) Book->chapterInfo(index)
[24-11-01 08:03:11] () BookAction->Read_reply()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/Common/runtime.php (243) Think::start()
[24-11-01 08:03:11] /webuse/ayhy/ThinkPHP/ThinkPHP.php (30) require(/webuse/ayhy/ThinkPHP/Common/runtime.php)
[24-11-01 08:03:11] /webuse/ayhy/m/index.php (19) require(/webuse/ayhy/ThinkPHP/ThinkPHP.php)