Dede织梦系统后台升级更新后出现的空白


一般织梦dedecms后台升级后数据库data路径会出现问题,是因为我们为了安全而会把data数据库放进根目录的上一层去,这时升级后后台会出现一片空白, 以下就是解决方法,希望大家和我一样遭遇的童鞋也能解决问题。 先看下 include/common.inc.php这个文件,下载下来后用DW编辑 //error_reporting(E_ALL); error_reporting(E_ALL || ~E_NOTICE); 改为 error_reporting(E_ALL); //error_reporting(E_ALL || ~E_NOTICE); 这时你打开后台就会显示错误的路径: 例如:Warning:require_once(D:/wwwroot/zgdxbw/wwwroot/data/config.cache.inc.php)[function.require-once]: failed to open stream: No such file or directory inD:\wwwroot\zgdxbw\wwwroot\include\common.inc.php on line 110 这个意思是说include\common.inc.php的 110行里找不到config.cache.inc.php的文件;     是因为更新文件的时候,系统会修改上图的这个data路径为默认,你改为你现在的路径就行,如../data表示上一层的意思,改后,把 //error_reporting(E_ALL); // error_reporting(E_ALL || ~E_NOTICE); 让系统不提示错误,这时你的后台就可以打开了。