Broken new page layout in MediaWiki 1.18.2

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

Ugh. Try refreshing your MediaWiki files except your LocalSettings.php; don't touch your database.

Jasper Deng (talk)20:06, 9 April 2012

Nope, that didn’t do it either! :-(

…But why would that happen with “not [yet] existing”/empty pages only??

There must be some variable in the template that is undefined when a page doesn’t exist yet and that the header [template] depends on…

Infarinato (talk)21:05, 9 April 2012
 

Any other ideas? I’ve upgraded to 1.19.0beta2 “just in case”, but still no joy… :-(

Anybody aware of specific incompatibilities between recent versions of MediaWiki and PHP 5.2.6 [and/or MySQL 5.0.95-log]? (Here I’ve got an instance of MediaWiki 1.6.8 and exactly the same versions of PHP and MySQL [on basically the same servers], and that problem doesn’t exist.)

Infarinato (talk)16:49, 10 April 2012

Try upgrading PHP, and/or your webserver.

Jasper Deng (talk)17:28, 10 April 2012

Something is very broken with your webserver.


The response for those pages sends no HTTP headers at all.

Maybe a broken 404 handler. If you set $wgSend404Code to false in your LocalSettings.php - does that fix your issue?

Bawolff (talk)20:08, 11 April 2012

It does! :-) Many thanks, Bawolff.

I’ll now see if I can somehow rectify this silly web server behaviour, but we’re on shared hosting, so I’m not too hopeful. :-(

Infarinato (talk)20:27, 11 April 2012