https://bugzilla.wikimedia.org/show_bug.cgi?id=12124

--- Comment #2 from Uwe Kaminski <[email protected]> 2012-02-01 18:27:27 UTC ---
(In reply to comment #0)
[...]
> This is because
> FastCGI+PHP is significantly stricter about headers than base Apache is, and
> does not like it when you set Status explicitly.
[...] 
> -       header( "Status: $code $label" );
[...]
> This fixes it. I do not know if it has unfortunate side effects on other
> platforms or with other libraries.
> 
> To duplicate: set up FastCGI with PHP, install MediaWiki, do something to
> generate an error page. This bug won't trigger without an actual MediaWiki
> error page - in my case it was a circular redirect caused by $wgUsePathInfo
> being off.

As written in Bug 34112 this happens _on every page_ (not only error pages) as
written in the bug description here.

You can see the result there: http://n9wiki.de
Go to this page and press F5: CSS are gone.
Press Ctrl+F5 (Firefox): Page is loaded including CSS. (You can find my logs in
Bug 34112)

So it seems to be that the duplicated header only is generated if a page or
related objects are cached somehow. Does this help?

Other questions:
Could you please:
1. Change the Bug subject to: "Errors displaying pages with FastCGI: pages are
displayed without CSS/style definition"?
2. Set the Mediawiki version to 1.18.1? 

Thank you very much, Uwe

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to