Home  >  Article  >  Backend Development  >  PHP error Cannot modify header information, modifyheader_PHP tutorial

PHP error Cannot modify header information, modifyheader_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:03:13831browse

php reported an error Cannot modify header information, modifyheader

The following problem occurred when using CI to develop WeChat public accounts. I looked online and found the solution: Save the error file as utf-8 using editplus.

Severity: Warning

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

Line Number: 688

Because every page reports the above error, I guess there is a problem with index.php in the CI root directory. Use the above method to save index.php as utf-8 , problem solved.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/969247.htmlTechArticlephp error Cannot modify header information, modifyheader When using CI to develop WeChat public accounts, the following problem occurs, online After looking around, the solution is: put the error file...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn