当前位置 : 首页>> 系统发生错误

:(

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

错误位置

FILE: /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT `title` ...', false)
#3 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Model.class.php(970): Think\Db\Driver->select(Array)
#4 /data/www/wwwroot/1.hnfw168.com/Application/Common/Common/developer.php(13): Think\Model->getField('title')
#5 /data/www/wwwroot/1.hnfw168.com/Runtime/Cache/Home/744dc4cb40259e623de1ab025c1d1da3.php(85): get_type_name(NULL)
#6 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Storage/Driver/File.class.php(80): include('/data/www/wwwro...')
#7 [internal function]: Think\Storage\Driver\File->load('./Runtime/Cache...', Array, NULL, 'tpl')
#8 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Storage.class.php(37): call_user_func_array(Array, Array)
#9 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Template.class.php(77): Think\Storage::__callstatic('load', Array)
#10 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Template.class.php(77): Think\Storage::load('./Runtime/Cache...', Array, NULL, 'tpl')
#11 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Behavior/ParseTemplateBehavior.class.php(32): Think\Template->fetch('./Application/H...', Array, '')
#12 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)
#13 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)
#14 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/View.class.php(126): Think\Hook::listen('view_parse', Array)
#15 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/View.class.php(72): Think\View->fetch('', '', '')
#16 /data/www/wwwroot/1.hnfw168.com/Application/Home/Controller/HomeController.class.php(68): Think\View->display('', 'utf-8', '', '', '')
#17 /data/www/wwwroot/1.hnfw168.com/Application/Home/Controller/IndexController.class.php(119): Home\Controller\HomeController->display()
#18 [internal function]: Home\Controller\IndexController->detail()
#19 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#20 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#21 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#22 /data/www/wwwroot/1.hnfw168.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#23 /data/www/wwwroot/1.hnfw168.com/index.php(56): require('/data/www/wwwro...')
#24 {main}