:(

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 'and is_show=1 ) ORDER BY sort asc' at line 1

错误位置

FILE: D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Db\Driver.class.php(930): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#3 D:\vhostroot\LocalUser\tangin958\www\APP\Runtime\Cache\Home\bc37ea8fbe4c9e9032828706f2586a70.php(142): Think\Model->select()
#4 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Storage\Driver\File.class.php(80): include('D:\\vhostroot\\Lo...')
#5 [internal function]: Think\Storage\Driver\File->load('./APP/Runtime/C...', Array, NULL, 'tpl')
#6 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Storage.class.php(37): call_user_func_array(Array, Array)
#7 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Template.class.php(77): Think\Storage::__callstatic('load', Array)
#8 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Template.class.php(77): Think\Storage::load('./APP/Runtime/C...', Array, NULL, 'tpl')
#9 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Behavior\ParseTemplateBehavior.class.php(32): Think\Template->fetch('./APP/Home/View...', Array, '')
#10 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)
#11 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)
#12 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\View.class.php(126): Think\Hook::listen('view_parse', Array)
#13 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\View.class.php(72): Think\View->fetch('list', '', '')
#14 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Controller.class.php(56): Think\View->display('list', '', '', '', '')
#15 D:\vhostroot\LocalUser\tangin958\www\APP\Home\Controller\ProController.class.php(53): Think\Controller->display('list')
#16 [internal function]: Home\Controller\ProController->index()
#17 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\ProController))
#18 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#19 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#20 D:\vhostroot\LocalUser\tangin958\www\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#21 D:\vhostroot\LocalUser\tangin958\www\index.php(25): require('D:\\vhostroot\\Lo...')
#22 {main}