<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

织梦DedeCMS会员空间内的文章列表无法分页的解决办法

时间:2020-12-08

DedeCMS 5.7会员空间的文章列表分页显示不正常,总是显示0页0条记录错误。下面告诉大家如何解决这个问题:

 

找到并打开include/arc.memberlistview.class.php文件,在里面找到下面这句代码:

1 $countQuery = preg_replace(“/select[ \r\n\t](.*)[ \r\n\t]from/i”,”Select count(*) as dd From”,$this->sourceSql);

将其修改为:

1 $countQuery = preg_replace(“#SELECT[ \r\n\t](.*)[ \r\n\t]FROM#is”, ‘SELECT COUNT(*) AS dd FROM’, $this->sourceSql);
2 $countQuery = preg_replace(“#ORDER[ \r\n\t]{1,}BY(.*)#is”, ”, $countQuery);

修改完成后保存就可以了。

 
0
首页
案例
关于
联系