1G全能免费空间 | 2GB免费全能空间 | 1G免费全能空间 | 免费试用云服务器 | 国内1G免费空间 | 免费空间 | 免费空间申请
您的位置:首页 > 免费教程

dedecms后台打开空白的解决方法

作者:免费空间 发布时间:2016-07-01 [手机版]
今天在DEDE后台登陆时出现了问题,导致后台变成空白,再回头登陆时,登陆页面也是一片空白,查看源代码也是一片空白,在网上找了些资料解决了dedecms后台打开空白的解决方法: 
  找到:include/common.inc.php文件,打开,查找程序代码: 

  //error_reporting(E_ALL); 
  error_reporting(E_ALL || ~E_NOTICE); 

  替换为: 

  error_reporting(E_ALL); 
  //error_reporting(E_ALL || ~E_NOTICE); 

  这一步很重要,因为它会告诉你为什么变成空白的提示信息,保存之后再次进入管理后台,这个时候会发现后台会有错误提示了,根据错误提示来解决问题。
原文提示是: 
Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\cwled\wwwroot\include\common.inc.php:1) in D:\wwwroot\junxiaowang\wwwroot\include\common.inc.php on line 290

Notice: A session had already been started - ignoring session_start() in D:\wwwroot\junxiaowang\wwwroot\include\userlogin.class.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\cwled\wwwroot\include\common.inc.php:1) in D:\wwwroot\junxiaowang\wwwroot\cwled@guanli\config.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\cwled\wwwroot\include\common.inc.php:1) in D:\wwwroot\junxiaownag\wwwroot\cwled@guanli\config.php on line 37

 

 

Notice: A session had already been started - ignoring session_start() in 的解决方法:

在php.ini文件中查找session.auto_start ,将其值设为0:

session.auto_start = 0

 

Warning: Cannot modify header information - headers already sent by (output started at 的解决方法:

在php.ini文件中查找output_buffering = Off    把 Off修改成On

重启Iis,根据以上错误把dedecms后台打开空白完美解决。


相关推荐
免费空间声明:
(一) 由于各方面情况的调整与变化,本网所提供的考试信息仅供参考,敬请以权威部门公布的正式信息为准。
(二) 本网注明来源为其他媒体的稿件均为转载稿,免费转载出于非商业性学习目的,版权归原作者所有。如有内容、版权等问题请在30日内与本网联系。联系方式:邮件 jiansou123@126.com
最近更新
-->
网站地图 | XML地图 | 手机版
版权所有 © 2005-2022 www.128sj.com 免费空间 All Rights Reserved
本网站所有信息全是来源于互联网,如有侵权请来电咨询! 粤ICP备16040413号-1