Fatal error: Uncaught Exception: 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 '-100, 100' at line 1 query: SELECT SQL_CALC_FOUND_ROWS * FROM xuexiao WHERE online = ? ORDER BY sort ASC LIMIT -100, 100 in /www/wwwroot/www.zhiyejiaoyu.com/class/MysqliDb.php:1926
Stack trace:
#0 /www/wwwroot/www.zhiyejiaoyu.com/class/MysqliDb.php(1519): MysqliDb->_prepareQuery()
#1 /www/wwwroot/www.zhiyejiaoyu.com/class/MysqliDb.php(686): MysqliDb->_buildQuery()
#2 /www/wwwroot/www.zhiyejiaoyu.com/class/MysqliDb.php(2312): MysqliDb->get()
#3 /www/wwwroot/www.zhiyejiaoyu.com/action/index.action.php(236): MysqliDb->paginate()
#4 /www/wwwroot/www.zhiyejiaoyu.com/index.php(29): main->xuexiaolist()
#5 {main}
thrown in /www/wwwroot/www.zhiyejiaoyu.com/class/MysqliDb.php on line 1926