:(

SQLSTATE[42000]: Syntax error or access violation: 1064 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

错误位置

FILE: /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 162

TRACE

#0 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/Db/Driver.class.php(162): PDOStatement->execute()
#1 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/Db/Driver.class.php(910): Think\Db\Driver->query()
#2 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/Model.class.php(580): Think\Db\Driver->select()
#3 /www/wwwroot/wanzilai.com/Core/Home/Controller/NewsController.class.php(48): Think\Model->select()
#4 [internal function]: Home\Controller\NewsController->index()
#5 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/App.class.php(156): ReflectionMethod->invoke()
#6 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/App.class.php(194): Think\App::exec()
#7 /www/wwwroot/wanzilai.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /www/wwwroot/wanzilai.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /www/wwwroot/wanzilai.com/index.php(40): require('/www/wwwroot/wa...')
#10 {main}