修正办法“
打开include/arc.memberlistview.class.php
查找
$countQuery = preg_replace("/select[ rnt](.*)[ rnt]from/i","Select count(*) as dd From",$this->sourceSql);
修改为
$countQuery = preg_replace("#SELECT[ rnt](.*)[ rnt]FROM#is", 'SELECT COUNT(*) AS dd FROM', $this->sourceSql);
$countQuery = preg_replace("#ORDER[ rnt]{1,}BY(.*)#is", '', $countQuery);
这样,分页就可以正常显示了,希望能对你有所帮助。
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!