错误提示

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: /www/web/cbmm_com_cn/public_html/Include/Library/Think/Db/Driver.class.php  LINE: 167

TRACE

#0 /www/web/cbmm_com_cn/public_html/Include/Library/Think/Db/Driver.class.php(167): PDOStatement->execute()
#1 /www/web/cbmm_com_cn/public_html/Include/Library/Think/Db/Driver.class.php(925): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /www/web/cbmm_com_cn/public_html/Include/Library/Think/Model.class.php(797): Think\Db\Driver->select(Array)
#3 /www/web/cbmm_com_cn/public_html/App/Home/Controller/IndexController.class.php(195): Think\Model->find()
#4 [internal function]: Home\Controller\IndexController->magazine()
#5 /www/web/cbmm_com_cn/public_html/Include/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#6 /www/web/cbmm_com_cn/public_html/Include/Library/Think/App.class.php(202): Think\App::exec()
#7 /www/web/cbmm_com_cn/public_html/Include/Library/Think/Think.class.php(120): Think\App::run()
#8 /www/web/cbmm_com_cn/public_html/Include/ThinkPHP.php(97): Think\Think::start()
#9 /www/web/cbmm_com_cn/public_html/index.php(11): require('/www/web/cbmm_c...')
#10 {main}