WordPress.org

Support

Support » Installation » Login Issue

Login Issue

  • Anonymous

    Ok after installation I am having problems logging in after I try logging in I get the following error message:
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 123
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 124
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 126
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 127
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 128
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 129
    Warning: Cannot modify header information – headers already sent by (output started at /home/misplace/public_html/wp/wp-config.php:34) in /home/misplace/public_html/wp/wp-login.php on line 149

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)
    Support Maven

    @podz

    Anonymous

    Well I went through the wp-login.php file because that was where the trouble was but I cannot find anything wrong on the lines it identified.
    I also checked the configuration file, and there dosen’t seem to be any problems there.

    hartley_h
    Member

    @hartley_h

    When you say you checked the configuration file, did you check to see if there were ANY spaces or blank lines after the closing ?> tag? The > at the end of that tag MUST be the final character (including white-space. It’s easy to miss but that’s what your problem is (or there is white-space before the opening <?php at the top. Or you’ve got a print or echo statement in there somewhere.

    Mark (podz)
    Support Maven

    @podz

    It’s never wrong about whitespace, and like hartley_h says, it’ll be at the end.
    # If, when you log in, you get an error message about ‘headers already sent’ the fault probably lies with the file ‘wp-config.php’
    * Download that file
    * Open it in a text editor again.
    * Check that the very first thing on the top line is <?php
    * Check that the very last thing in the file is a line with ?> on it.
    It may appear that there is nothing after the > but PHP is not wrong about such errors. Place the cursor between the ? and the >, now press and hold your DELETE key for a few seconds. Then type the > and save the file. Do NOT press anything else after entering the >
    * Reupload the file, and refresh the page in your browser.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login Issue’ is closed to new replies.