Warning: Cannot modify header 报错

2016-07-07 15:17 来源:www.chinab4c.com 作者:ecshop专家

前台:
Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\init.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\init.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\cls_template.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\lib_main.php on line 1090

后台:

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at D:\web\wwwtys530\includes\inc_c**tant.php:241) in D:\web\wwwtys530\includes\cls_template.php on line 58

目录权限都修改了 还是有问题,同一服务器另外一个站就正常。

回答:
呵,那等高人看下

不妨试试用一个你没有打开,没有编辑过的源码文件重新上传。建议先不要用你自己计算机的源码。
另外你就只提供一段提示,其实这样不便于排查原因。

楼主是不是修改了什么文件啊或者应该是主机程序池问题吧到后天把主机停用在开启试试之前我也遇到一个类似问题同一程序在别的主机或者同主机的新空间下能使用停止主机在开启就能用了········