A little bit of a problem with editing PHP files with notepad

Source: Internet
Author: User
Today to modify their own in the SAE above the WordPress file, because did not operate on their own machine, the use of Notepad, the results submitted on the error.

Error content is cannot modify header information-headers already sent by (output started a, below is the error interface:

Of course, this SAE has not passed the certification, but only for temporary testing, in a few days will be gone. Here's the main reason, he says, in the functions.php file output, and this output is output before the header () is called.

In fact, this problem is mainly the use of Notepad editor generated, I am here to make a replacement, replaced for the source file, and then downloaded a notepad++ for editing.

Usually the reason for this error is that there may be a cache before the output content, we need to set up the php.ini file, the output_buffering set to ON.

  • Related Article

    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.