• Installation went beautifully, and the default page looks fine ( https://www.icrywolf.com ), but when I go to login, I get the following error lines at the top of the screen:

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

    Also for lines 43, 44, and 45. After I put in my admin & password, I just get three more of these lines for 167, 168, and 174.

    I’ve looked at the wp-login PHP file, but it’s Greek to me. What could be the hangup on this? Ta.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    Thread Starter icrywolf

    (@icrywolf)

    I’ve done this as many different ways as possible, but a space (or carriage return) keeps reintroducing itself after I save the file. Ugh.

    Moderator James Huff

    (@macmanx)

    Deactivate any active plugins (by renaming or deleting the plugin files), then delete wp-login.php and upload a new copy from a fresh WP download. Do not overwrite the file. Overwriting files via FTP can lead to incomplete transfers.

    What program are you using to edit the file?

    Do not use something like Microsoft Word and all that. Also if you are using Notepad, make sure that the ‘Word Wrap’ option is not checked.

    Thread Starter icrywolf

    (@icrywolf)

    I’ve tried different text editors with different settings (nothing like Word … notepad, text edit, bbedit), and it always ends up with a carriage return after the last line. I think my site’s FTP server is putting it in there. Can’t delete it. Is there another way around this? Been banging my head against this wall all weekend.

    Moderator James Huff

    (@macmanx)

    No, your FTP app is doing that. Check your FTP app settings and it it to upload your files as ASCII or text.

    Thread Starter icrywolf

    (@icrywolf)

    Still not working. When I upload/download with Fetch (set for “text”), there’s no space at the end of the wp-login.php file. The header error occurs. When I check the file in my site’s control panel browser interface, there’s a carriage return after the last ?> and it won’t go away, no matter how many times I overwrite or upload/download.

    I have another WP blog on a different host that works just fine. I don’t understand how this could NOT be working?

    It’s NOT the wp-login file that’s causing issues…. it’s the wp-config.php file….

    here’s some help in deciphering the error msg:
    Warning: Cannot modify header information – headers already sent by (output started at /home/icrywolf/public_html/wp-config.php:34) in /home/icrywolf/public_html/wp-login.php on line 42

    Right there in bold it tells you exactly where the header was already sent.

    Line 42 of wp-login tries to do a redirect, which you can’t do if headers were already sent. Which, in this case, happened on line 34 of the wp-config.php file.

    Tg

    Thread Starter icrywolf

    (@icrywolf)

    An entire weekend of stress melts away. It’s always something obvious, isn’t it?

    Working now. Thanks Tg.

    hehe….
    A friend and I were driving around town look for a place to live. As we passed one apartment complex, I said “hey how about this place, movin special, first two months free!” He said, “how’d you know that” — “That big ol’e banner on the side of the building.”

    It became a joke later – It’s those little things in life, like that six foot sign on the wall.

    Glad to be of help

    Tg

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Warning: Cannot modify header information’ is closed to new replies.