Wordpress prompts a warning and cannot modify the header information. the header has been issued in solution-PHP source code

Source: Internet
Author: User
Wordpress prompts a warning and cannot modify the header information. the header has been issued in the solution.

Someone asked me today that my wordpress website has encountered a series of strange errors. I don't know what to do. First, let's get started with the problem:


Warning: Cannot modify header information-headers already sent by (output started at/home/cf9999/domains/logs) in/home/cf9999/domains/logs on line 36

Warning: Cannot modify header information-headers already sent by (output started at/home/cf9999/domains/logs) in/home/cf9999/domains/logs on line 36 Warning: header information cannot be modified-the header has been issued in/home/cf9999/domains/cf9999.cn (output/home/cf9999/domains/cf9999.cn/public_html/blog/wp-config.php:1)/public_html/install. it is really strange that php has launched 36, but w has been used. Ordpress Station friends should know what the cause is, in fact, a very simple error, but if you do not know, how to get it is in vain. When building your own wordpress website, you must modify your configuration file. you must modify the configuration file locally. However, this modification is exquisite, do not use notepad to open or modify the php file. if it is modified, a strange problem may occur, for example, today's problem. Don't sell off the customs. let's go to the solution! Hey hey, please refer to the following pipeline open your wp-config.php with EPP, check whether there is UTF8 at the beginning of the identification code or other characters, delete it. Complicated and difficult things are often born from some inconspicuous small problems. programmers must be careful and careful!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.