For the Love of My Country

Andy Moore's web-development blog: HTML, CSS, JavaScript, Flash (subscribe)
quicklinks: html codes | w3 schools (CSS) | colour codes | archives
blogging at: Star Studded Super Step on politics, abortion, freedom...
Warning: Cannot modify header information...
Tuesday, February 23, 2010, 10:40 PM
Was able to access my Wordpress website, but couldn't get into the admin panel. The browser returned this PHP error:

Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/...

Here's how I fixed it, looked at the offending file - wp-config.php, and saw that there were two empty lines beneath ?>. PHP apparently doesn't like empty space outside of its markup, so I deleted them, uploaded the file, and she's away and laughing.

Labels:

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home
Archives: \April 2007/\June 2007/\September 2007/\August 2008/\September 2008/\October 2008/\December 2008/\February 2009/\March 2009/\May 2009/\July 2009/\August 2009/\September 2009/\October 2009/\November 2009/\December 2009/\January 2010/\February 2010/\March 2010/\August 2010/\September 2010/\December 2010/