dedecms文章跳转属性打开后页面空白怎么办

dedecms文章跳转属性打开后页面空白怎么办

dedecms文章跳转属性打开后页面空白怎么办?

DEDECMS时,跳转页面什么都不显示,后台编辑时,也全是空白页。 

原因:使用header(location:url)函数跳转时,前面可能有输内容。 

推荐学习:织梦cms

解决办法: 

前台: 

代码如下:

includearc.archives.class.php, 第499行 header("location:{$this->Fields['redirecturl']}");

替换为 

代码如下:

echo '<meta>Fields['redirecturl'].'"&gt;';  后台: adminarchives_do.php, 第33行 header("location:{$gurl}?aid=$aid"); 替换为 echo '<meta>';

以上就是

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享