SQL错误提示

系统:PHP 7.1.29 (Linux)
sql错误:SELECT * FROM mod_fenlei_category where status=1 AND pid= ORDER BY orderindex ASC LIMIT 0,1000000 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 orderindex ASC LIMIT 0,1000000' at line 1
/www/wwwroot/www.fd175.com/skymvc/class/cls_mysqli.php:257行,调用方法:query
/www/wwwroot/www.fd175.com/skymvc/class/cls_mysqli.php:199行,调用方法:getAll
/www/wwwroot/www.fd175.com/skymvc/class/cls_model.php:115行,调用方法:SELECT
/www/wwwroot/www.fd175.com/module/fenlei/source/index/fenlei.ctrl.php:70行,调用方法:select
/www/wwwroot/www.fd175.com/skymvc/skymvc.php:358行,调用方法:onList
/www/wwwroot/www.fd175.com/module.php:58行,调用方法:require
请联系管理员