校区: 授课年级: 授课科目:

系统发生错误

错误位置

FILE: /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Driver/Db/DbMysql.class.php (320) trace(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 tbl_article where catid=54 and teacher_id= limit 1, , ERR)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/Model.class.php (1078) DbMysql->query(SELECT 'title' FROM tbl_article where catid=54 and teacher_id= limit 1)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Cache/Cache/Home/9a4ba5cb5771fd758c37408988106d0f_cn.php (323) Model->query(SELECT 'title' FROM tbl_article where catid=54 and teacher_id= limit 1)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Template/ThinkTemplate.class.php (80) include(/www/admin/www.henggao.com_80/wwwroot/Cache/Cache/Home/9a4ba5cb5771fd758c37408988106d0f_cn.php)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Behavior/ParseTemplateBehavior.class.php (61) ThinkTemplate->fetch(./Yourphp/Tpl/Home/Default/Teacher_show.html, Array, )
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Common/common.php (480) ParseTemplateBehavior->run(Array)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Common/common.php (427) B(ParseTemplate, Array)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/View.class.php (121) tag(view_parse, Array)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/View.class.php (69) View->fetch(Teacher:show, , )
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/Action.class.php (101) View->display(Teacher:show, , , , )
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Yourphp/Lib/Action/BaseAction.class.php (1224) Action->display(Teacher:show)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Yourphp/Lib/Action/Home/EmptyAction.class.php (70) BaseAction->show(83, Teacher)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/Action.class.php (210) EmptyAction->_empty(show, )
[20-08-04 15:56:08] () Action->__call(show, )
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/App.class.php (198) ReflectionMethod->invokeArgs(, Array)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/App.class.php (218) App::exec()
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Lib/Core/Think.class.php (39) App::run()
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Common/runtime.php (252) Think::start()
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/Core/Core.php (30) require(/www/admin/www.henggao.com_80/wwwroot/Core/Common/runtime.php)
[20-08-04 15:56:08] /www/admin/www.henggao.com_80/wwwroot/index.php (25) require(/www/admin/www.henggao.com_80/wwwroot/Core/Core.php)