Author Topic: Wiki problem: "HTTP Error 500 (Internal Server Error)"  (Read 9629 times)

Indirik

  • Exalted Emperor
  • ******
  • Posts: 10849
  • No pressure, no diamonds.
    • View Profile
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."
If at first you don't succeed, don't take up skydiving.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Yeah, I'm at the point where I really, really hate the MediaWiki team for letting such a horrible release out the door. :-(


Indirik

  • Exalted Emperor
  • ******
  • Posts: 10849
  • No pressure, no diamonds.
    • View Profile
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."
If at first you don't succeed, don't take up skydiving.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
should work now


Indirik

  • Exalted Emperor
  • ******
  • Posts: 10849
  • No pressure, no diamonds.
    • View Profile
Image uploads work. Still getting that 500 error...
If at first you don't succeed, don't take up skydiving.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Give me a direct link where I can reproduce it, then I can go there and look at the logfile in the same moment.


Indirik

  • Exalted Emperor
  • ******
  • Posts: 10849
  • No pressure, no diamonds.
    • View Profile
If at first you don't succeed, don't take up skydiving.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
I know what the error is (it's in the Validator component of SMW), but I have no clue what to do about it.


Zakilevo

  • Guest
Many realms pages are broken. Sirion, Morek Empire, Corsanctum .... etc.

Indirik

  • Exalted Emperor
  • ******
  • Posts: 10849
  • No pressure, no diamonds.
    • View Profile
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.
If at first you don't succeed, don't take up skydiving.

Zakilevo

  • Guest
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.

De-Legro

  • Honourable King
  • *****
  • Posts: 3838
    • View Profile
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.
« Last Edit: March 15, 2012, 12:40:58 AM by De-Legro »
Previously of the De-Legro Family
Now of representation unknown.

Zakilevo

  • Guest
Some pages do work, like Caligus and a few more. But many are broken.

De-Legro

  • Honourable King
  • *****
  • Posts: 3838
    • View Profile
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.
Previously of the De-Legro Family
Now of representation unknown.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
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