织梦会员中心个人空间文档明明有很多数据的可分页条上一直显示0数据的解决方法
 
打开 /include/arc.memberlistview.class.php 找到
 
$countQuery = preg_replace(“/select[ \r\n\t](.*)[ \r\n\t]from/i”,”Select count(*) as dd From”,$this->sourceSql);
 
改成
 
$countQuery = preg_replace(“/SELECT(.*)FROM/isU”,’SELECT count(*) as dd FROM’,$this->sourceSql);