网站是discuz,出现问题是插件,以前用的mysql5.5.49+PHP5.3.29,没有问题,正常使用
昨天换了服务器,mysql5.5.54+PHP5.3.29,就出现下面的问题了
请教高手,如何解决这个错误,小白很苦恼
Discuz! Database Error
(1064) 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 '-20,20' at line 1
SELECT m.username,m.uid,v.level,v.czz,v.jointime,v.year_pay FROM dsu_vip v, common_member m WHERE m.uid=v.uid ORDER BY v.jointime DESC LIMIT -20,20
PHP Debug
No. File Line Code
1 vip.php 95 include(%s)
2 source/plugin/dsu_kkvip/module/new_vip.inc.php 9 vip->query(%s)
3 source/class/class_vip.php 74 db_driver_mysql->query(%s, %s)
4 source/class/db/db_driver_mysql.php 153 db_driver_mysql->halt(%s, %d, %s)
5 source/class/db/db_driver_mysql.php 224 break()