WordPress.org

Ready to get started?Download WordPress

Forums

Can't login - pluggable.php on line 694 (8 posts)

  1. lucwebsite
    Member
    Posted 6 years ago #

    Warning: Cannot modify header information - headers already sent by (output started at ..../wp-content/themes/boi-consulting-nbp/functions.php:2) in ......../wp-includes/pluggable.php on line 694

    I get this error message when i try to access wp-admin ?

    I use the french version of WP 2.5.1

    Does anyone have an idea of what could be happening?

    Thank you very much!!

    Luc

  2. whooami
    Member
    Posted 6 years ago #

    remove the blank spaces from the top of /wp-content/themes/boi-consulting-nbp/functions.php

  3. mcbuzz
    Member
    Posted 6 years ago #

    First of all, whooami, you really rock. Thank you for all your help on this site.

    Second, I had the same problem cited above. Exactly the same warning. Just different line numbers, so I could not get to the WP login page.

    Here is what the first four lines of functions.php looked like:

    <?php
    
    function mysql2date($dateformatstring, $mysqlstring, $translate = true) {
    	global $wp_locale;

    I removed the one blank line at line two, so now it looks like:

    <?php
    function mysql2date($dateformatstring, $mysqlstring, $translate = true) {
    	global $wp_locale;

    Uploaded the modified functions.php and the problem was fixed!

    But my question is, Why?

    Because the original functions.php that came with this WordPress 2.3 installation has that blank line in it.

    Thanks again!
    Mark M.

  4. Louno
    Member
    Posted 6 years ago #

    thanks, this helped me out...

    :)

  5. wael_e
    Member
    Posted 6 years ago #

    i do all of this but not work and my erorr is
    Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/wordpress/wp-config.php:1) in /home/******/public_html/wordpress/wp-includes/pluggable.php on line 694

  6. McFads
    Member
    Posted 6 years ago #

    Thanks a ton. This has alleviated my 8 hour headache. I did not have a php editor prior to this issue ... I used CrimsonEditor ... very easy to download and make changes.

  7. jocelynaz
    Member
    Posted 6 years ago #

    THANK YOU!! This totally helped me out! My error was the same exact thing except it referred to my wp-config.php file. Turns out I had whitespace at the end of it. Once I deleted the whitespace, it worked out fine!

    Thanks a bunch!

  8. NewsGuy
    Member
    Posted 5 years ago #

    I'm suddenly having the same problem, except that I get the error when viewers put "www." in the url.

    Check it out:

    http://www.therightperspective.com

    http://therightperspective.com

    Now I've done exactly what is recomended in this thread, I even downloaded a new version of 2.5.1, edited the function.php from that, and uploaded it.... still nothing.

    Anyone got an idea?

Topic Closed

This topic has been closed to new replies.

About this Topic