顶部出现 请问如何处理

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

顶部出现 请问如何处理
Warning: Cannot modify header information - headers already sent by (output started at /var/www/wwwroot/web12043/wwwroot/includes/lib_main.php:1) in /var/www/wwwroot/web12043/wwwroot/includes/init.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wwwroot/web12043/wwwroot/includes/lib_main.php:1) in /var/www/wwwroot/web12043/wwwroot/includes/init.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wwwroot/web12043/wwwroot/includes/lib_main.php:1) in /var/www/wwwroot/web12043/wwwroot/includes/cls_template.php on line 58

回答:
用是的utf-8版本吧
用记事本修改的话,会在文件头自动加上BOM
用其他编辑器打开,去掉就可以了
比如editplus,文件另存为utf-8