亚搏APP手机版(北京)有限公司

:(

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 ') ORDER BY sort desc,publish_time desc LIMIT 0,12' at line 1

错误位置

FILE: /home/bae/app/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /home/bae/app/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /home/bae/app/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /home/bae/app/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /home/bae/app/Application/Site/Common/function.php(225): Think\Model->select()
#4 /home/bae/app/Application/Site/Controller/CategoryController.class.php(99): bbc_sitelists('content', Array, 'sort desc,publi...', '*', 0, 12, Array, 'return')
#5 [internal function]: Site\Controller\CategoryController->index()
#6 /home/bae/app/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Site\Controller\CategoryController))
#7 /home/bae/app/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /home/bae/app/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /home/bae/app/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /home/bae/app/index.php(84): require('/home/bae/app/T...')
#11 {main}