这个错误真是叫我头疼

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

Warning: Cannot modify header information - headers already sent by (output started at D:\站锟斤拷目¼\wwwroot\languages\zh_cn\common.php:1) in D:\站锟斤拷目¼\wwwroot\includes\init.php on line 157

Warning: Cannot modify header information - headers already sent by (output started at D:\站锟斤拷目¼\wwwroot\languages\zh_cn\common.php:1) in D:\站锟斤拷目¼\wwwroot\includes\init.php on line 158

Warning: Cannot modify header information - headers already sent by (output started at D:\站锟斤拷目¼\wwwroot\languages\zh_cn\common.php:1) in D:\站锟斤拷目¼\wwwroot\includes\cls_template.php on line 58

换个模板 说要修改

操作方法如下
打开/languages/zh_cn/common.php 文件,将下面的代码片段拷贝到该文件的最低部即可;

$_LANG['label_regist'] = '用户注册';
$_LANG['label_login'] = '用户登录';
$_LANG['label_profile'] = '用户信息';
$_LANG['label_collection'] = '我的收藏';
$_LANG['article_list'] = '文章列表';

不修改就有些字不显示
修改就出这个错误

郁闷死了

回答:
编码不对.你要统一编码

都是UTF-8 怎么会不对呢?

去掉BOM签名,官方早已给出说明

您可以换编辑器编辑

路过,学习下