:(

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 '%d )' at line 1 [ SQL语句 ] : SELECT * FROM `article_cat` WHERE ( cat_id=%d )

错误位置

FILE: D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('1064:You have a...')
#1 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Db\Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#4 D:\wwwroot\qszys.com.cn\Application\Common\Model\SysCatModel.class.php(40): Think\Model->select()
#5 D:\wwwroot\qszys.com.cn\Application\Common\Common\function.php(614): Common\Model\SysCatModel->get(NULL)
#6 D:\wwwroot\qszys.com.cn\Application\Runtime\Cache\Home\3af5dc91859e63390be9b1333e2ee595.php(1): getCat(NULL)
#7 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Storage\Driver\File.class.php(80): include('D:\\wwwroot\\qszy...')
#8 [internal function]: Think\Storage\Driver\File->load('./Application/R...', Array, NULL, 'tpl')
#9 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Storage.class.php(37): call_user_func_array(Array, Array)
#10 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Template.class.php(77): Think\Storage::__callstatic('load', Array)
#11 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Template.class.php(77): Think\Storage::load('./Application/R...', Array, NULL, 'tpl')
#12 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Behavior\ParseTemplateBehavior.class.php(32): Think\Template->fetch('./Web/tpl/Artic...', Array, '')
#13 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)
#14 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)
#15 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\View.class.php(126): Think\Hook::listen('view_parse', Array)
#16 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\View.class.php(72): Think\View->fetch('', '', '')
#17 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Controller.class.php(56): Think\View->display('', '', '', '', '')
#18 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Controller.class.php(168): Think\Controller->display()
#19 [internal function]: Think\Controller->__call('articleXq', '')
#20 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\App.class.php(114): ReflectionMethod->invokeArgs(Object(Home\Controller\EmptyController), Array)
#21 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#22 D:\wwwroot\qszys.com.cn\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#23 D:\wwwroot\qszys.com.cn\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#24 D:\wwwroot\qszys.com.cn\index.php(24): require('D:\\wwwroot\\qszy...')
#25 {main}