系统发生错误

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

错误位置: FILE: /mnt/wwwroot/net/ephp/dbdrivers/db_mysqli.class.php LINE: 45 ErrorCode: 2045

[ 错误信息 ]

执行mysqli::query()出现错误: 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 ':void(0) and a.type=6 ORDER BY created_at desc LIMIT 0,10' at line 1
原SQL: SELECT SQL_CALC_FOUND_ROWS a .* , b.username, b.image FROM t_comments a LEFT JOIN p_user b ON a.userID = b.id WHERE galleryID=javascirpt:void(0) and a.type=6 ORDER BY created_at desc LIMIT 0,10

[ TRACE ]

#0 /mnt/wwwroot/net/ephp/dbdrivers/db_mysqli.class.php(68): db_mysqli->query('SELECT SQL_CALC...')
#1 /mnt/wwwroot/net/ephp/libraries/model.class.php(336): db_mysqli->fetch_arrays('SELECT SQL_CALC...')
#2 /mnt/wwwroot/net/ephp/libraries/model.class.php(397): model->findAll()
#3 /mnt/wwwroot/net/_web/models/installModel.php(447): model->findPage()
#4 /mnt/wwwroot/net/_web/controllers/itemController.php(228): installModel->getSqlAllPage('a .* , b.userna...', 't_comments a LE...', ' galleryID=java...', 1, 10, 'created_at desc')
#5 /mnt/wwwroot/net/ephp/ePHP.php(420): itemController->readAction()
#6 /mnt/wwwroot/net/index.php(34): app->run()
#7 {main}

ePHP { Fast & Simple PHP Framework } -- [ WE CAN DO IT JUST LIKE IT ]