HOME > Projects
CLASSIC PROJECT
系统发生错误

:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LIMIT 1' at line 1

错误位置

FILE: /usr/share/nginx/html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 162

TRACE

#0 /usr/share/nginx/html/ThinkPHP/Library/Think/Db/Driver.class.php(162): PDOStatement->execute()
#1 /usr/share/nginx/html/ThinkPHP/Library/Think/Db/Driver.class.php(908): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /usr/share/nginx/html/ThinkPHP/Library/Think/Model.class.php(761): Think\Db\Driver->select(Array)
#3 /usr/share/nginx/html/Application/Common/Common/function.php(2267): Think\Model->find()
#4 /usr/share/nginx/html/Runtime/Cache/Home/9a9e4227b3c0b552fe0f4e7e528d8737.php(392): get_info(NULL, 'pjpic', 'projects')
#5 /usr/share/nginx/html/ThinkPHP/Library/Think/Storage/Driver/File.class.php(78): include('/usr/share/ngin...')
#6 [internal function]: Think\Storage\Driver\File->load('./Runtime/Cache...', Array, NULL, 'tpl')
#7 /usr/share/nginx/html/ThinkPHP/Library/Think/Storage.class.php(37): call_user_func_array(Array, Array)
#8 /usr/share/nginx/html/ThinkPHP/Library/Think/Template.class.php(77): Think\Storage::__callstatic('load', Array)
#9 /usr/share/nginx/html/ThinkPHP/Library/Think/Template.class.php(77): Think\Storage::load('./Runtime/Cache...', Array, NULL, 'tpl')
#10 /usr/share/nginx/html/ThinkPHP/Library/Behavior/ParseTemplateBehavior.class.php(32): Think\Template->fetch('./Application/H...', Array, '')
#11 /usr/share/nginx/html/ThinkPHP/Library/Think/Hook.class.php(119): Behavior\ParseTemplateBehavior->run(Array)
#12 /usr/share/nginx/html/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Behavior\ParseT...', 'view_parse', Array)
#13 /usr/share/nginx/html/ThinkPHP/Library/Think/View.class.php(126): Think\Hook::listen('view_parse', Array)
#14 /usr/share/nginx/html/ThinkPHP/Library/Think/View.class.php(72): Think\View->fetch(NULL, '', '')
#15 /usr/share/nginx/html/ThinkPHP/Library/Think/Controller.class.php(56): Think\View->display(NULL, '', '', '', '')
#16 /usr/share/nginx/html/Application/Home/Controller/ArticleController.class.php(184): Think\Controller->display(NULL)
#17 [internal function]: Home\Controller\ArticleController->lists(1)
#18 /usr/share/nginx/html/ThinkPHP/Library/Think/App.class.php(154): ReflectionMethod->invokeArgs(Object(Home\Controller\ArticleController), Array)
#19 /usr/share/nginx/html/ThinkPHP/Library/Think/App.class.php(194): Think\App::exec()
#20 /usr/share/nginx/html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#21 /usr/share/nginx/html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#22 /usr/share/nginx/html/index.php(39): require('/usr/share/ngin...')
#23 {main}