太阳集团8722c(中国)有限公司

:(

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

错误位置

FILE: /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 339

TRACE

#0 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(339): E('1064:You have a...')
#1 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(173): Think\Db\Driver->error()
#2 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(928): Think\Db\Driver->query('SELECT `code` F...', false)
#3 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Model.class.php(963): Think\Db\Driver->select(Array)
#4 /home/huaweiec/domains/huaweiec.cn/public_html/App/Home/Controller/PublicController.class.php(88): Think\Model->getField('code')
#5 /home/huaweiec/domains/huaweiec.cn/public_html/App/Home/Controller/NewsController.class.php(53): Home\Controller\PublicController->page_location(NULL)
#6 [internal function]: Home\Controller\NewsController->news_info()
#7 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/App.class.php(174): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#8 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/App.class.php(212): Think\App::exec()
#9 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /home/huaweiec/domains/huaweiec.cn/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /home/huaweiec/domains/huaweiec.cn/public_html/index.php(20): require('/home/huaweiec/...')
#12 {main}

Baidu
sogou