:(

mysqli_sql_exception: 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 in /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php:89 Stack trace: #0 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php(89): mysqli->query() #1 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Db.class.php(756): DbMysqli->query() #2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Model.class.php(497): Db->select() #3 /www/wwwroot/www.terbly.com/Home/Lib/Action/NewsAction.class.php(543): Model->select() #4 [internal function]: NewsAction->anli() #5 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke() #6 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec() #7 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run() #8 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start() #9 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...') #10 /www/wwwroot/www.terbly.com/index.php(46): require('...') #11 {main}

错误位置

FILE: /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php  LINE: 252

TRACE

[26-11-13 02:35:11] /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php (252) halt(mysqli_sql_exception: 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 in /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php:89
Stack trace:
#0 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php(89): mysqli->query()
#1 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Db.class.php(756): DbMysqli->query()
#2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Model.class.php(497): Db->select()
#3 /www/wwwroot/www.terbly.com/Home/Lib/Action/NewsAction.class.php(543): Model->select()
#4 [internal function]: NewsAction->anli()
#5 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke()
#6 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec()
#7 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run()
#8 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start()
#9 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...')
#10 /www/wwwroot/www.terbly.com/index.php(46): require('...')
#11 {main})
[26-11-13 02:35:11] () Think::appException(mysqli_sql_exception: 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 in /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php:89
Stack trace:
#0 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php(89): mysqli->query()
#1 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Db.class.php(756): DbMysqli->query()
#2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Model.class.php(497): Db->select()
#3 /www/wwwroot/www.terbly.com/Home/Lib/Action/NewsAction.class.php(543): Model->select()
#4 [internal function]: NewsAction->anli()
#5 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke()
#6 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec()
#7 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run()
#8 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start()
#9 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...')
#10 /www/wwwroot/www.terbly.com/index.php(46): require('...')
#11 {main})