Common Error Messages

Filed Under: Blogging, WordPress

Since I’ve been helping out in the WordPress Support Forums for the last year I’ve noticed numerous threads about some common error messages encountered by various bloggers. I’m going to highlight 2 such messages and show you how easy they are to correct.

Warning: Cannot modify header information - headers already sent by (output started at /path/blog/wp-config.php:34) in /path/blog/wp-login.php on line 42

There are many variations of this error message but the bottom line is it’s caused by excessive whitespace. In this particular case line #42 of wp-login.php is being affected by a problem at line #34 of wp-config.php and it is most certainly excessive whitespace. The file listed first in the error is always the culprit while the second file is the victim. Open the problem file in a PLAIN TEXT EDITOR and check for whitespace where none should be. Better yet, upload a fresh copy of the offending file.

Warning: main(ABSPATHwp-admin/includes/admin.php) [function.main]: failed to open stream: No such file or directory in /home/host/public_html/site/wordpress/wp-admin/includes/upgrade.php on line 5

Again, there are many variations of this error message but the cause is always the same - a missing or corrupt file. Look carefully at the error - No such file or directory in … Unfortunately sometimes things go wrong during an upload. Simply re-upload the problem files.

Learning to interpret the various error messages you may encounter will go a long way to preserving your sanity.

 

Thanks for visiting! If this is your first time here why not grab the RSS feed. You can also follow this discussion by checking the "Notify me of followup comments via e-mail" box or by subscribing to the comments RSS feed. Please scroll down to leave your comment.

No Comments so far. Add Yours Now!

Reply to “Common Error Messages”

Please note: Comment moderation is in effect. It may take some time for your comment to appear. There is no need to resubmit it.

Management does not necessarily endorse or agree with comments left here. Management reserves the right to not publish comments it deems unfit. Play nice.

 

Subscribe

Click below to subscribe.

  • Subscribe to the feed!

Catch it Live!

Live weekly show featuring the movers and shakers of WordPress.

  • WordPress

Just Say No!

To themes using obfuscated code.

  • Say No to Obfuscated Code!

Powered By ...

Is there anything else? Anil?

  • Powered by WordPress!