:(

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: /home/wwwroot/redis/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /home/wwwroot/redis/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /home/wwwroot/redis/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT `id`,`ti...', false)
#2 /home/wwwroot/redis/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /home/wwwroot/redis/Application/Home/Controller/OrderController.class.php(28): Think\Model->select()
#4 /home/wwwroot/redis/Application/Home/Controller/OrderController.class.php(41): Home\Controller\OrderController->left(NULL)
#5 [internal function]: Home\Controller\OrderController->content()
#6 /home/wwwroot/redis/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\OrderController))
#7 /home/wwwroot/redis/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /home/wwwroot/redis/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /home/wwwroot/redis/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /home/wwwroot/redis/index.php(10): require('/home/wwwroot/r...')
#11 {main}