• 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • file: wp-includes/functions.php
    line: 746
    comment line
    @header(“Status: $header $text”);

    make it:
    //@header(“Status: $header $text”);

    it works for me.

    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

    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: https://www.example.com/wp-login.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘duplicate headers -> error’ is closed to new replies.