首页 > 编程 > PHP > 正文

php 报错 Cannot modify header information

2019-11-15 02:06:38
字体:
来源:转载
供稿:网友
php 报错 Cannot modify header information

在用CI 开发微信公众号的时候出现下面这么个问题,网上看了一圈解决办法是:把报错的文件用editplus另存为utf-8。

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at Filename: libraries/session.php

Line Number: 688

因为每个页面都报上面的错,所以我估计是CI根目录下的index.php有问题,用上面的办法将index.php另存为utf-8,问题解决。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表