Warning: Cannot modify header information ,成功安装,打开首页显示这个

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

系统: linux 5.1 64位。
PHP v5.2.5
MySQL 版本 5.0.51a
Apache 2.2.8
使用 xampp 做的环境。

现装的时候,提示无法找到 data/config_temp.php文件。 找不到这个文件,只有 config.php文件。
把config.php重命名为 config_temp.php.
安装成功。
但是:打开首页


Notice: Constant EC_CHARSET already defined in /home/www/s1/shop/data/config.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/init.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/init.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/cls_template.php on line 51
Access denied

打开后台
Notice: Constant EC_CHARSET already defined in /home/www/s1/shop/data/config.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at /home/www/s1/shop/data/config.php:56) in /home/www/s1/shop/includes/cls_template.php on line 51

回答:
您好,data目录的权限您给了777的权限吗?提示无法找到 data/config_temp.php文件时是第一步安装就出现的错误吗?

读config_temp.php这个文件是不能跳过的。


1 、 data 以及data下面每一个目录和文件都是777。一个一个查的。
2、提示出错是在安装完数据库、管理员账号,在 “安装其它”的时候报错。
3、提示无法找到 data/config_temp.php文件。 找不到这个文件,只有 config.php文件。
于是把config.php重命名为 config_temp.php.
安装成功。
4、打开就是现在的现象。

还没有解决。。。

您好,我们正在处理这个问题,稍后我们会给大家解决方法的。

这个 问题 怎么解决啊 ,我也有这样的问题

必须要程序执行自己手动改名当然不行了

快点给出解决方案啦.....都等着呢

还没解决


Warning: Cannot modify header information - headers already sent by (output started at /home1/sixsixze/public_html/ts/includes/lib_common.php:6193) in /home1/sixsixze/public_html/ts/includes/cls_session.php on line 232

Warning: Cannot modify header information - headers already sent by (output started at /home1/sixsixze/public_html/ts/includes/lib_common.php:6193) in /home1/sixsixze/public_html/ts/includes/init.php on line 299

Warning: Cannot modify header information - headers already sent by (output started at /home1/sixsixze/public_html/ts/includes/lib_common.php:6193) in /home1/sixsixze/public_html/ts/includes/init.php on line 301

Warning: Cannot modify header information - headers already sent by (output started at /home1/sixsixze/public_html/ts/includes/lib_common.php:6193) in /home1/sixsixze/public_html/ts/includes/cls_template.php on line 98

Notice: Undefined property: discuz:cookie_prefix in /home1/sixsixze/public_html/ts/includes/modules/integrates/discuz.php on line 454
>

如果能排除权限问题,我想是主机的问题,换个安装环境试下