WordPress.org

Forums

Can't Log In After Initial Installation (7 posts)

  1. jsbrana
    Member
    Posted 8 years ago #

    I downloaded and installed Version 2.0.5 to my server, and after trying to log in I get the following error messages:

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-login.php on line 9

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-includes/pluggable-functions.php on line 307

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-includes/pluggable-functions.php on line 308

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-includes/pluggable-functions.php on line 269

    Does anyone know how to resolve this?

    Thanks!

  2. icd10
    Member
    Posted 8 years ago #

    Have a look at your wp-config.php and make sure there are no letters (even spaces) before the <?php or after the ?>

  3. jsbrana
    Member
    Posted 8 years ago #

    Checked that...no spaces or letters.

  4. jsbrana
    Member
    Posted 8 years ago #

    The trouble started when executing install.php

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-admin/install.php on line 16

  5. icd10
    Member
    Posted 8 years ago #

    The following message means that php can't change the header (which the code in line 9 in wp-login.php is trying) because wp-config has already send one or more letters.
    There is no echo in wp-config, so in this case there are letters outside of the php-code like spaces or linefeeds. Check again.

    Warning: Cannot modify header information - headers already sent by (output started at /home/greaycom/public_html/blog/wp-config.php:1) in /home/greaycom/public_html/blog/wp-login.php on line 9

  6. jsbrana
    Member
    Posted 8 years ago #

    I figured it out. Don't use FrontPage or Expression to edit the wp-config.php file. Even though it appears nothing is in front of <?php or after the ?>, for some reason these two programs insert wierd characters. I used Adobe GoLive to edit.

  7. whooami
    Member
    Posted 8 years ago #

    for future reference, thats a plain old textfile, use notepad

    loading golive to edit it is a good deal of overkill.

Topic Closed

This topic has been closed to new replies.

About this Topic