:(

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 `path` FROM `cms_list2` WHERE ( id= ) LIMIT 1

错误位置

FILE: /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 699

TRACE

#0 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Db/Driver.class.php(699): E('1064:You have a...')
#1 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Db/Driver.class.php(359): Think\Db\Driver->error()
#2 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Db/Driver.class.php(1891): Think\Db\Driver->query('SELECT `path` F...', false)
#3 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Model.class.php(1517): Think\Db\Driver->select(Array)
#4 /data/web_db/mangozhuangxiu/Application/Home/Controller/TuceController.class.php(326): Think\Model->find()
#5 /data/web_db/mangozhuangxiu/Application/Home/Controller/TuceController.class.php(68): Home\Controller\TuceController->getdname('1209')
#6 [internal function]: Home\Controller\TuceController->index()
#7 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/App.class.php(345): ReflectionMethod->invoke(Object(Home\Controller\TuceController))
#8 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/App.class.php(219): Think\App::invokeAction(Object(Home\Controller\TuceController), 'index')
#9 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/App.class.php(407): Think\App::exec()
#10 /data/web_db/mangozhuangxiu/ThinkPHP/Library/Think/Think.class.php(239): Think\App::run()
#11 /data/web_db/mangozhuangxiu/ThinkPHP/ThinkPHP.php(193): Think\Think::start()
#12 /data/web_db/mangozhuangxiu/index.php(24): require('/data/web_db/ma...')
#13 {main}