Replace wp-includes folder from a copy of wordpress
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
?>
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 ww.wp.xz.cn files with only moded wp-config file and same error too.
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
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?
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!!!!