BattleMaster Community

BattleMaster => Marketing => Wiki => Topic started by: Indirik on March 09, 2012, 03:44:24 PM

Title: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 09, 2012, 03:44:24 PM
Tom,

Looks like the update tanked another one of the extensions. Not really sure which one, but any page that uses Template:RealmBox now generates the following error:

"HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 09, 2012, 04:14:16 PM
Yeah, I'm at the point where I really, really hate the MediaWiki team for letting such a horrible release out the door. :-(

Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 12, 2012, 02:58:27 PM
File upload to the wiki doesn't work, either. When you try, you get an error back: "The upload directory (public) is not writable by the webserver."
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 13, 2012, 05:57:25 PM
should work now

Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 13, 2012, 06:49:36 PM
Image uploads work. Still getting that 500 error...
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 14, 2012, 11:55:10 AM
Give me a direct link where I can reproduce it, then I can go there and look at the logfile in the same moment.

Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 14, 2012, 01:16:13 PM
Here's two:
http://wiki.battlemaster.org/wiki/Astrum
http://wiki.battlemaster.org/wiki/Riombara

Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 15, 2012, 12:02:53 AM
I know what the error is (it's in the Validator component of SMW), but I have no clue what to do about it.

Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Zakilevo on March 15, 2012, 12:04:25 AM
Many realms pages are broken. Sirion, Morek Empire, Corsanctum .... etc.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 15, 2012, 12:16:37 AM
It affects all pages that use the RealmBox template. I'm out of practice, though, and not sure how to fix it offhand. Other semantic pages don't seem affected.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Zakilevo on March 15, 2012, 12:24:20 AM
Can we temporarily delete the realmbox template so people can access their realm pages at least? Many smaller pages are linked to each realm page and I think it is better to leave out the realmbox until you find a way to fix them.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: De-Legro on March 15, 2012, 12:36:24 AM
Interesting

http://wiki.battlemaster.org/wiki/Tuchanon_V

works for some reason.

and

http://wiki.battlemaster.org/wiki/Ibladesh

loads but has some junk in it, so I'm guessing either some coding change with the update, or something is wrong with the semantic data.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Zakilevo on March 15, 2012, 12:38:38 AM
Some pages do work, like Caligus and a few more. But many are broken.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: De-Legro on March 15, 2012, 12:41:49 AM
Some pages do work, like Caligus and a few more. But many are broken.

Yes Zakilevo, and by locating pages that have varying level of functionality we can compare the different usage of the realmbox template in a effort to locate what the problem is.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 15, 2012, 09:42:34 AM
If it helps anyone, the error is:

Code: [Select]
PHP Fatal error:  Cannot redeclare class ItemParameterCriterion in /var/battlemaster/wiki/extensions/Validator/includes/ItemParameterCriterion.php on line 17
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 15, 2012, 06:20:06 PM
OK, I think we're getting closer.

It appears that any template that uses the parser functions such as {{#if: }}, and other related functions, is broken. Templates such as "Infobox CharData" and "HadezCharData" are broken as well.

http://wiki.battlemaster.org/wiki/Da_Hadez_Family/Severn

I'm fairly certain that we need to install/update this extension, which adds support for these conditional functions:
http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Tom on March 15, 2012, 08:46:49 PM
Enabled. Solves the problem for that family, but not the other, which is a different issue, see further above.
Title: Re: Wiki problem: "HTTP Error 500 (Internal Server Error)"
Post by: Indirik on March 21, 2012, 05:43:24 PM
This is now all working again.