系统发生错误

您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]

错误位置: FILE: D:\wwwroot\chinazhbycom\Core\Lib\Driver\Db\DbMysql.class.php LINE: 320

[ 错误信息 ]

[ TRACE ]

[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Driver\Db\DbMysql.class.php (320) trace()
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error(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 * FROM `db_article` WHERE id<22 and catid= ORDER BY id desc LIMIT 1 , , ERR)
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\Db.class.php (739) DbMysql->query()
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\Model.class.php (597) Db->select(SELECT * FROM `db_article` WHERE id<22 and catid= ORDER BY id desc LIMIT 1 )
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Myphp\Lib\Action\BaseAction.class.php (313) Model->find(Array)
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Myphp\Lib\Action\Home\EmptyAction.class.php (67) BaseAction->show()
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\Action.class.php (210) EmptyAction->_empty(22, Article)
[18-12-13 06:28:12] () Action->__call(show, )
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\App.class.php (198) ReflectionMethod->invokeArgs(show, )
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\App.class.php (218) App::exec(, Array)
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Lib\Core\Think.class.php (39) App::run()
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Common\runtime.php (253) Think::start()
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\Core\Core.php (30) require(D:\wwwroot\chinazhbycom\Core\Common\runtime.php)
[18-12-13 06:28:12] D:\wwwroot\chinazhbycom\index.php (60) require(D:\wwwroot\chinazhbycom\Core\Core.php)