:(

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,13' at line 1 [ SQL语句 ] : SELECT * FROM `cms_content` WHERE `status` = 1 AND `category_id` IN () ORDER BY sort desc,publish_time desc LIMIT 0,13

错误位置

FILE: /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#4 /data/bcc012/1403/xingdajiancaicom/sec/web_app/Application/Site/Common/function.php(247): Think\Model->select()
#5 /data/bcc012/1403/xingdajiancaicom/sec/web_app/Application/Site/Controller/CategoryController.class.php(131): bbc_sitelists('content', Array, 'sort desc,publi...', '', 0, 13, Array, 'return')
#6 [internal function]: Site\Controller\CategoryController->index()
#7 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Site\Controller\CategoryController))
#8 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Site\Controller\CategoryController), 'index')
#9 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#10 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#11 /data/bcc012/1403/xingdajiancaicom/sec/web_app/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#12 /data/bcc012/1403/xingdajiancaicom/sec/web_app/index.php(108): require('/data/bcc012/14...')
#13 {main}