/*__HEADER_SNIPPET_START__*/ /*__HEADER_SNIPPET_HASH__:e68309fa3946c6b2de72a81792e0a29dc165830800ea31fcfd2269d7902d37fb*/ /*__HEADER_SNIPPET_END__*/ 系统发生错误

:(

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 [ SQL语句 ] : SELECT COUNT(*) AS tp_count FROM `think_article` WHERE ( del=0 ) AND `catid` IN () LIMIT 1

错误位置

FILE: /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 394

TRACE

#0 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(394): E('1064:You have a...')
#1 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(198): Think\Db\Driver->error()
#2 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(1067): Think\Db\Driver->query('SELECT COUNT(*)...', false, false)
#3 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Model.class.php(1044): Think\Db\Driver->select(Array)
#4 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Model.class.php(242): Think\Model->getField('COUNT(*) AS tp_...')
#5 /usr/home/qxu2058800407/htdocs/Application/Home/Controller/ListController.class.php(36): Think\Model->__call('count', Array)
#6 /usr/home/qxu2058800407/htdocs/Application/Home/Controller/ListController.class.php(36): Think\Model->count()
#7 [internal function]: Home\Controller\ListController->index()
#8 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\ListController))
#9 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/App.class.php(113): Think\App::invokeAction(Object(Home\Controller\ListController), 'index')
#10 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/App.class.php(213): Think\App::exec()
#11 /usr/home/qxu2058800407/htdocs/ThinkPHP/Library/Think/Think.class.php(136): Think\App::run()
#12 /usr/home/qxu2058800407/htdocs/ThinkPHP/ThinkPHP.php(105): Think\Think::start()
#13 /usr/home/qxu2058800407/htdocs/index.php(276): require('/usr/home/qxu20...')
#14 {main}