I found errors in my log files and I can't track them down.
comm with server "/php5/php-fcgi-starter" aborted: error parsing headers: duplicate header 'Status'
comm with server "/php5/php-fcgi-starter" aborted: error parsing headers: duplicate header 'Status', referer: /wp-admin/post.php
Same with /wp-admin/themes.php
/wp-admin/themes.php?activated=true
And one with a post permalink referer.
I haven't found anything similar to this anywhere else.
Anybody an idea?
Ksaveras
Member
Posted 5 years ago #
file: wp-includes/functions.php
line: 746
comment line
@header("Status: $header $text");
make it:
//@header("Status: $header $text");
it works for me.
AskApache
Member
Posted 5 years ago #
Good fix Ksaveras, it also worked for me. (using php5 on dreamhost with fast-cgi)
function status_header( $header ) {
if ( 200 == $header )
$text = 'OK';
elseif ( 301 == $header )
$text = 'Moved Permanently';
elseif ( 302 == $header )
$text = 'Moved Temporarily';
elseif ( 304 == $header )
$text = 'Not Modified';
elseif ( 404 == $header )
$text = 'Not Found';
elseif ( 410 == $header )
$text = 'Gone';
@header("HTTP/1.1 $header $text");
//@header("Status: $header $text");
}
The fix for me was on line 2232
AskApache
Member
Posted 5 years ago #
Oh forgot to include the complete error (for those of you googling)
FastCGI: comm with server "/home/user/example.com/cgi-bin/php5-wrapper.fcgi" aborted: error parsing headers: duplicate header 'Status', referer: http://www.example.com/wp-login.php