WordPress.org

Ready to get started?Download WordPress

Forums

Problem logging in the initial time.... (4 posts)

  1. cameronlanni
    Member
    Posted 6 years ago #

    I go to my web address/wp-login.php and I get to the page prompting me for my username and password. At the top of the page though, there is this:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/a/m/cameronlanni/html/Wordpress/wp-config.php:26) in /home/content/c/a/m/cameronlanni/html/Wordpress/wp-login.php on line 12

    There ain't much I can do about it, so I ignore it and login anyway. It then takes me to a page that is completely blank except for this:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/a/m/cameronlanni/html/Wordpress/wp-config.php:26) in /home/content/c/a/m/cameronlanni/html/Wordpress/wp-login.php on line 12

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/a/m/cameronlanni/html/Wordpress/wp-config.php:26) in /home/content/c/a/m/cameronlanni/html/Wordpress/wp-includes/pluggable.php on line 379

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/a/m/cameronlanni/html/Wordpress/wp-config.php:26) in /home/content/c/a/m/cameronlanni/html/Wordpress/wp-includes/pluggable.php on line 380

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/a/m/cameronlanni/html/Wordpress/wp-config.php:26) in /home/content/c/a/m/cameronlanni/html/Wordpress/wp-includes/pluggable.php on line 341

    I've tried reinstalling all the files and also tried re-doing the setup/installation process, to no avail. What should I do!?

  2. moshu
    Member
    Posted 6 years ago #

    Did you check your wp-config file, line 26 (as it says in the error message) for a blank space or line?
    There should NOT be anything blank before the initial <?php or after the closing ?>

  3. cameronlanni
    Member
    Posted 6 years ago #

    There was a line break after the closing php tag. I'll test it, this may fix the problem.

  4. cameronlanni
    Member
    Posted 6 years ago #

    It worked! Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic