Home  >  Article  >  php教程  >  dedecms 修改文档 空白页面解决方法

dedecms 修改文档 空白页面解决方法

WBOY
WBOYOriginal
2016-06-08 17:26:031061browse
<script>ec(2);</script>

 我碰到的问题是发布内容没有问题,但是编辑文档,修改软件是就出现空白页面,经过查找,只要如下修改就ok了。
 找到dede/(就是你的后台登录目录,如果没修改默认是dede目录),找到文件archives_do.php教程文件,搜索header,在33行可以看到

 代码如下 复制代码
 header("location:{$gurl}?aid=$aid");


 我们把这里修改成js调用如

 代码如下 复制代码
 echo " ";


 
 至于什么原因不用能header函数呢,下面我们来看看关于header的属性。header()前,如果前面输出了空格、空行、任何字符,都会导致header()跳转失效....
由于catalog_do.php调用过的php文件太多了,可能你以前用启事本修改过文件,所以就出问题了。

 本站原创文章转载注明来源于http://www.111cn.net/phper/php.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn