SF 1.9: Trying to make a template (mal in Norwegian) returns a blank page with Firefox and Chrome, HTTP 500 with IE.
Version: unspecified
Severity: major
OS: Windows XP
Platform: PC
SF 1.9: Trying to make a template (mal in Norwegian) returns a blank page with Firefox and Chrome, HTTP 500 with IE.
Version: unspecified
Severity: major
OS: Windows XP
Platform: PC
I can't duplicate this, using "no" as the language code. It sounds like you have PHP set to show a blank page if there are any errors - see here for how to change that, so you can see the error message:
http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#You_see_a_Blank_Page
This is what I get when turning on error messaging:
Notice: Use of undefined constant SMW_NS_RELATION - assumed 'SMW_NS_RELATION' in /data/www/bmk.no/www/wiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 420
Notice: Use of undefined constant SMW_NS_RELATION_TALK - assumed 'SMW_NS_RELATION_TALK' in /data/www/bmk.no/www/wiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 420
Notice: Use of undefined constant SMW_NS_RELATION_TALK - assumed 'SMW_NS_RELATION_TALK' in /data/www/bmk.no/www/wiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 420
Fatal error: Call to undefined method DatabaseMysql::unionQueries() in /data/www/bmk.no/www/wiki/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 874
Aha - that's helpful. It looks like there's a bug in Semantic MediaWiki's file /languages/SMW_LanguageNo.php - for some reason it hasn't gotten updated. Could you delete from that file all the lines that contain 'SMW_NS_RELATION' or 'SMW_NS_RELATION_TALK', and see if there's still a problem?
I deleted (or rather commented out) three lines, but still got the last error message:
Fatal error: Call to undefined method DatabaseMysql::unionQueries() in /data/www/bmk.no/www/wiki/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 874
I checked the other language files: Only the Norwegian ones have these SMW_NS_RELATION' and 'SMW_NS_RELATION_TALK' entries.
Well, that takes care of most of the problems, then. For the last one: you must be using an extremely old version of MediaWiki (before 1.6?) If so, I would recommend upgrading to the latest stable version, 1.15.
Actually I don't. These are my versions:
MediaWiki 1.15.1
PHP 5.2.4-2ubuntu5.7 (apache2handler)
MySQL 5.0.51a-3ubuntu5.4
Collection (versjon 1.4)
Semantic Forms (versjon 1.9)
Semantic Internal Objects (versjon 0.4)
Semantic MediaWiki (versjon 1.5h-SVN)
Ah - never mind. There's an error in the SMW documentation relating to that. This looks like a problem in your very specific version of SMW - if you upgrade to a later version, it should work fine.
This was actually two bugs, one of which came from an old version of SMW, the other which was fixed in SVN. Setting to "FIXED".