FILE: /www/wwwroot/086019.com/ThinkPHP/Lib/Driver/Db/DbMysql.class.php LINE: 320
错误位置
TRACE
[24-12-04 17:02:12] /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 'ORDER BY hits desc LIMIT 0,5' at line 1
[ SQL语句 ] : SELECT * FROM `sp_article` WHERE blog_id = ORDER BY hits desc LIMIT 0,5 , , ERR)
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `sp_article` WHERE blog_id = ORDER BY hits desc LIMIT 0,5 )
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Model.class.php (497) Db->select(Array)
[24-12-04 17:02:12] /www/wwwroot/086019.com/Application/Runtime/Cache/Home/3a18e193f103720a6d31fba89c8fc0f7.php (678) Model->select()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Template/ThinkTemplate.class.php (80) include(/www/wwwroot/086019.com/Application/Runtime/Cache/Home/3a18e193f103720a6d31fba89c8fc0f7.php)
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Behavior/ParseTemplateBehavior.class.php (61) ThinkTemplate->fetch(./Application/Tpl/Home/Default/blog_info.html, Array, )
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Common/common.php (481) ParseTemplateBehavior->run(Array)
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Common/common.php (428) B(ParseTemplate, Array)
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/View.class.php (121) tag(view_parse, Array)
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/View.class.php (69) View->fetch(, , )
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Action.class.php (101) View->display(, , , , )
[24-12-04 17:02:12] /www/wwwroot/086019.com/Application/Lib/Action/Home/blogAction.class.php (120) Action->display()
[24-12-04 17:02:12] () blogAction->info()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/App.class.php (183) ReflectionMethod->invoke()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/App.class.php (219) App::exec()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/Common/runtime.php (243) Think::start()
[24-12-04 17:02:12] /www/wwwroot/086019.com/ThinkPHP/ThinkPHP.php (34) require(/www/wwwroot/086019.com/ThinkPHP/Common/runtime.php)
[24-12-04 17:02:12] /www/wwwroot/086019.com/index.php (33) require(/www/wwwroot/086019.com/ThinkPHP/ThinkPHP.php)