系统发生错误
错误位置: file: /html/suhuchina.com/core/lib/driver/db/dbmysql.class.php line: 320
[ 错误信息 ]
[ trace ]
[21-06-23 10:01:06] /html/suhuchina.com/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 'order by id desc limit 1' at line 1
[ sql语句 ] : select `title`,`url` from `suhu_yexiao` where id< order by id desc limit 1 , , err)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/driver/db/dbmysql.class.php (107) dbmysql->error()
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/db.class.php (739) dbmysql->query(select `title`,`url` from `suhu_yexiao` where id< order by id desc limit 1 )
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/model.class.php (597) db->select(array)
[21-06-23 10:01:06] /html/suhuchina.com/cache/cache/home/dd2f1360ef9de6d2897357573ae87f2f_cn.php (695) model->find()
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/template/thinktemplate.class.php (80) include(/html/suhuchina.com/cache/cache/home/dd2f1360ef9de6d2897357573ae87f2f_cn.php)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/behavior/parsetemplatebehavior.class.php (61) thinktemplate->fetch(./yourphp/tpl/home/default/yexiao_show.html, array, )
[21-06-23 10:01:06] /html/suhuchina.com/core/common/common.php (480) parsetemplatebehavior->run(array)
[21-06-23 10:01:06] /html/suhuchina.com/core/common/common.php (427) b(parsetemplate, array)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/view.class.php (121) tag(view_parse, array)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/view.class.php (69) view->fetch(yexiao:show, , )
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/action.class.php (101) view->display(yexiao:show, , , , )
[21-06-23 10:01:06] /html/suhuchina.com/yourphp/lib/action/baseaction.class.php (356) action->display(yexiao:show)
[21-06-23 10:01:06] /html/suhuchina.com/yourphp/lib/action/home/emptyaction.class.php (67) baseaction->show(, yexiao)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/action.class.php (210) emptyaction->_empty(show, )
[21-06-23 10:01:06] () action->__call(show, )
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/app.class.php (198) reflectionmethod->invokeargs(, array)
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/app.class.php (218) app::exec()
[21-06-23 10:01:06] /html/suhuchina.com/core/lib/core/think.class.php (39) app::run()
[21-06-23 10:01:06] /html/suhuchina.com/core/common/runtime.php (253) think::start()
[21-06-23 10:01:06] /html/suhuchina.com/core/core.php (30) require(/html/suhuchina.com/core/common/runtime.php)
[21-06-23 10:01:06] /html/suhuchina.com/index.php (28) require(/html/suhuchina.com/core/core.php)