WordPress.org

Ready to get started?Download WordPress

Forums

Warning message (9 posts)

  1. danryan
    Member
    Posted 9 years ago #

    When I login after installation, it has many warning messages:

    Warning: Cannot add header information - headers already sent by (output started at /web/xxx.net/wordpress/wp-config.php:34) in /web/xxx.net/wordpress/wp-login.php on line 42

    Warning: Cannot add header information - headers already sent by (output started at /web/xxx.net/wordpress/wp-config.php:34) in /web/xxx.net/wordpress/wp-login.php on line 43

    Warning: Cannot add header information - headers already sent by (output started at /web/xxx.net/wordpress/wp-config.php:34) in /web/xxx.net/wordpress/wp-login.php on line 44

    Warning: Cannot add header information - headers already sent by (output started at /web/xxx.net/wordpress/wp-config.php:34) in /web/xxx.net/wordpress/wp-login.php on line 45

    and it shows in many pages. Anyone can help me?

  2. shadow
    Member
    Posted 9 years ago #

    This is usually a whitespace problem. Check your wp-config file for whitespace before the first <? and after the last ?>

  3. NuclearMoose
    Member
    Posted 9 years ago #

    A simple search of the forums would have pointed you to the solution that shadow mentions.

  4. serendipity
    Member
    Posted 9 years ago #

  5. shadow
    Member
    Posted 9 years ago #

    So, wasn't my description good enough or something?

    It looks to me like all of the following suggestions reiterate my initial answer.

  6. Oh, it was. Sorry, I just tend to run on autopilot when I see "headers already send" or "enable sending refers". Especially since most people never search before posting.

  7. NuclearMoose
    Member
    Posted 9 years ago #

    Shadow,
    Your explanation was fine, but it never hurts to point people to specific resources. It's part of the process of "training" users to know where else they can look for answers.

  8. danryan
    Member
    Posted 9 years ago #

    Hi all, thanks for your answer. I find the problem finally. It is just some strange spaces in the script. Sorry for inconvenience.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.