:(

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 createtime DESC LIMIT 0,5' at line 1

错误位置

FILE: /data0/web/m.shichang.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /data0/web/m.shichang.com/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /data0/web/m.shichang.com/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT `uid`,`c...', false)
#2 /data0/web/m.shichang.com/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /data0/web/m.shichang.com/Apps/Home/Model/CompanyModel.class.php(41): Think\Model->select()
#4 /data0/web/m.shichang.com/Apps/Home/Controller/BusinessController.class.php(92): Home\Model\CompanyModel->getRelaCompany(NULL)
#5 [internal function]: Home\Controller\BusinessController->detail()
#6 /data0/web/m.shichang.com/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\BusinessController))
#7 /data0/web/m.shichang.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /data0/web/m.shichang.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /data0/web/m.shichang.com/badword.php(56): Think\Think::start()
#10 /data0/web/m.shichang.com/index.php(9): require('/data0/web/m.sh...')
#11 {main}