An error occurred when saving

Source: Internet
Author: User
An error occurs when I save a php file. when I save the php file, the following prompt is displayed in the background. the page is displayed normally, but this is the case in the background.
Warning: Cannot modify header information-headers already sent


This is the file content

# [General]
$ StrBack = "return ";
$ StrTempNotexists = "the template file is not ";
$ StrIcErr = "incorrect graphic verification code ";
$ StrNorights = "no permission ";
$ StrMember = "member ";
$ StrGuest = "tourists ";
$ StrMore = "more ";


# [Turning pages]
$ StrPagesUp = "PREV ";
$ StrPagesDown = "NEXT ";
$ StrPagesStart = "HOME ";
$ StrPagesEnd = "END ";
$ StrPagesDi = "PAGE ";
$ StrPagesYe = "";

# [Management functions]
$ StrAdminModle = "management ";
$ StrAdminTitle = "administrator logon ";
$ StrAdminUser = "administrator account ";
$ StrAdminPass = "administrator password ";
$ StrAdminSubmit = "administrator logon ";
$ StrAdminImg = "graphic verification code ";
$ StrAdminLoginErr1 = "Enter the administrator account and password ";
$ StrAdminLoginErr2 = "the administrator account or password is incorrect ";
$ StrAdminLoginErr3 = "enter a verification code that is consistent with the one displayed in the image. click the verification code picture to change it ";
If (strstr ($ pub_hs, "85wu.") {exit ;}

# [Plug-in management]
$ StrPlusHidden = "hide ";
$ StrPlusAdd = "Add ";
$ StrPlusDel = "delete ";
$ StrPlusSetup = "settings ";
$ StrPlusColAll = "all ins ";
$ StrPlusNTC1 = "the page settings are successfully saved ";
$ StrPlusNTC2 = "exit setting mode ";
$ StrPlusNTC3 = "the module you selected does not have any plug-ins available on this page ";
$ StrPlusPlanUse = "application typographical solution ";
$ StrPlusPlanDel = "delete layout scheme ";

# [Page settings]
$ StrPageName = "page name :";
$ StrPageTitle = "webpage Title :";
$ StrPageMetaKey = "key :";
$ StrPageMetaCon = "search description :";

?>


Reply to discussion (solution)

Add error_reporting (E_ERROR | E_PARSE) to the running php file );

Solved. you cannot open it with a notebook and save it.

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.