:(

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: /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/Db/Driver.class.php(928): Think\Db\Driver->query('SELECT `code` F...', false)
#2 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/Model.class.php(963): Think\Db\Driver->select(Array)
#3 /home/yzsaige/domains/yzsaige.com/public_html/en/App/Home/Controller/PublicController.class.php(117): Think\Model->getField('code')
#4 /home/yzsaige/domains/yzsaige.com/public_html/en/App/Home/Controller/GongchengController.class.php(52): Home\Controller\PublicController->page_location(NULL)
#5 [internal function]: Home\Controller\GongchengController->gongcheng_info()
#6 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/App.class.php(174): ReflectionMethod->invoke(Object(Home\Controller\GongchengController))
#7 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/App.class.php(212): Think\App::exec()
#8 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /home/yzsaige/domains/yzsaige.com/public_html/en/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /home/yzsaige/domains/yzsaige.com/public_html/en/index.php(21): require('/home/yzsaige/d...')
#11 {main}