网站迁移后出现的问题---在线等!!!

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

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

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /www/mofang/data/config.php:59) in /www/mofang/includes/lib_main.php on line 941
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `mofang`.`shop_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('222.131.198.109', '1', 'Internet Explorer 6.0', 'Windows XP', 'zh-cn', '北京市', '', '', '/index.php', '1235761974') ) [2] => Array ( [error] => Table 'shop_stats' is read only ) [3] => Array ( [errno] => 1036 ) )

http://faq.comsenz.com/


从win2003上转到linux上就出现了上边的问题,怎么解决啊?

回答:
怎么没人帮我啊?

这个可能是系统的问题,还有后面一个是数据库的问题,让服务商帮你应该可以解决!

数据库那个解决了。主要是前面那几个警告弄不了。

?????????????????????

Cannot modify header information - headers already sent by (output started at /www/mofang/news/model/admin.php:107) in /www/mofang/news/model/admin.php on line 51

清除一下缓存文件看看

还有,文件修改过一定要保存为对应的编码,这个是BOM造成的

网站目录权限问题,右键属性,安全一个user类似字符的用户加上写入权限