异常位置: FILE: D:\virtualhost\localuser\host6378320\www\coolphp\model.php LINE: 328
[ 提示信息 ]
[ 详情 ]
请求网址:/index.php
326: return $rs;
327: }
328: $result = $this->db->query($sql);// 数据库
329: if($result===false){
330: $this->setError('sql_query_error');
[ 追踪 ]
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\coolphp\model.php (328) Db->query(SELECT * FROM `news` WHERE ((`id` < '785' AND `category_id` = )) ORDER BY id desc LIMIT 0,1)
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\coolphp\model.php (248) Model->find(array ( 'limit' => 1, 'order' => 'id desc', 'where' => array ( 'id <' => '785', 'category_id' => NULL, ),), 0)
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\app\controller\news.php (25) Model->__call(findByCond, array ( 0 => array ( 'id <' => '785', 'category_id' => NULL, ), 1 => 1, 2 => 'id desc',))
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\app\controller\news.php (25) AppModel->findByCond(array ( 'id <' => '785', 'category_id' => NULL,), 1, id desc)
[24-03-29 15:22:03] () News->view()
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\coolphp\controller.php (144)
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\coolphp\app.php (100) Controller->exec(view)
[24-03-29 15:22:03] D:\virtualhost\localuser\host6378320\www\index.php (25) App->run()