:(

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 ') LIMIT 1' at line 1

错误位置

FILE: /var/www/html/YongsyCORE/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /var/www/html/YongsyCORE/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /var/www/html/YongsyCORE/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /var/www/html/YongsyCORE/Library/Think/Model.class.php(759): Think\Db\Driver->select(Array)
#3 /var/www/html/Apps/Cn/Controller/CommonController.class.php(540): Think\Model->find()
#4 /var/www/html/Apps/Cn/Controller/WorkController.class.php(43): Cn\Controller\CommonController->getCateData('Cn')
#5 [internal function]: Cn\Controller\WorkController->index()
#6 /var/www/html/YongsyCORE/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Cn\Controller\WorkController))
#7 /var/www/html/YongsyCORE/Library/Think/App.class.php(202): Think\App::exec()
#8 /var/www/html/YongsyCORE/Library/Think/Think.class.php(120): Think\App::run()
#9 /var/www/html/YongsyCORE/ThinkPHP.php(97): Think\Think::start()
#10 /var/www/html/index.php(23): require('/var/www/html/Y...')
#11 {main}