• Resolved quarter

    (@quarter)


    Hi,

    I’m getting this error when I go to https://www.yoursonice.com/wp-admin , I’ve looked up in the forums of what to do. They said to go to beginning of wp-config.php file and backspace after the < of <?php . It’s not working and I’ve been spending hours trying to figure this out. Can anybody else help me?

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/y/o/u/your6414/html/wp-config.php:1) in /home/content/y/o/u/your6414/html/wp-includes/pluggable.php on line 897

Viewing 9 replies - 1 through 9 (of 9 total)
  • Replace wp-includes folder from a copy of wordpress

    Thread Starter quarter

    (@quarter)

    Thanks but it was a fresh install – I unzipped and moved over all the files that were zipped onto the server and then changed wp-config file. Any other ideas?

    looking at the error page, you still have a problem with wp-config.php
    this has to be 1st thing on page
    <?php
    so put your cursor in front of that and hit backspace

    if you’re really sure there isn’t a space, try adding this to very last line at very end of file
    ?>

    Thread Starter quarter

    (@quarter)

    Thanks for help,

    I’ve tried backspacing before the <?php and I’ve also added the ?> to the last line of wp-config.php but still same error.

    Any idea of what else I can do? I uploaded the original www.remarpro.com files with only moded wp-config file and same error too.

    Thread Starter quarter

    (@quarter)

    The line 892 in pluggable.php where it’s giving me an error is the bolded below. Does that help?

    function wp_redirect($location, $status = 302) {
    global $is_IIS;
    $location = apply_filters(‘wp_redirect’, $location, $status);
    $status = apply_filters(‘wp_redirect_status’, $status, $location);
    if ( !$location ) // allows the wp_redirect filter to cancel a redirect
    return false;
    $location = wp_sanitize_redirect($location);
    if ( !$is_IIS && php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups
    header(“Location: $location”, true, $status);
    }
    endif;

    the only other thing to try is deactivating all plugins and testing

    Thread Starter quarter

    (@quarter)

    Thanks for the help again,

    I think there are no plugins activated because this is a fresh install; I downloaded wordpress 3.1, changed the wp-config.php file and then uploaded all the files via ftp.

    I looked in the plugin folder (/wp-content/plugins) and there is only akismet. I can’t go into the admin part of website because it won’t allow me to login because of header problems.

    Any other ideas?

    Thread Starter quarter

    (@quarter)

    PROBLEM SOLVED !!!!

    Thanks for everybody’s help.

    The solution was that I was saving the file in notepad as a ‘utf-8’ file and this was, unknowingly & not telling me, saving it with BOM. In notepad++ I had the option to save as utf-8 without BOM and it worked! Yes!!!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error when I got to www.***.com/wp-admin’ is closed to new replies.