修改PHP文件后,为什么前台提示WARNIGN?

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



修改PHP文件后,为什么前台显示有WARNING呢?
有时什么也没动,可能只是加个空格什么,再还原,只要保存过,就有警告,为什么呢?
代码如下:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\ECShop\shop\docroot\index.php:1) in C:\Program Files\ECShop\shop\docroot\includes\init.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\ECShop\shop\docroot\index.php:1) in C:\Program Files\ECShop\shop\docroot\includes\init.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\ECShop\shop\docroot\index.php:1) in C:\Program Files\ECShop\shop\docroot\includes\cls_template.php on line 58

回答:


不要用记事本打开编辑.



改用DW就没问题了.



ECSHOP有安装使用提示.



要认真研究研究哦.

?>符号之后的空白删掉