Last modified: 2011-01-25 00:08:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24888, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22888 - Failing Spesial:Opprett_mal (Norwegian for Special:Create_template)
Failing Spesial:Opprett_mal (Norwegian for Special:Create_template)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
PC Windows XP
: Normal major (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-18 22:42 UTC by Even Thorbergsen
Modified: 2011-01-25 00:08 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Even Thorbergsen 2010-03-18 22:42:50 UTC
SF 1.9: Trying to make a template (mal in Norwegian) returns a blank page with Firefox and Chrome, HTTP 500 with IE.
Comment 1 Even Thorbergsen 2010-03-18 22:46:23 UTC
All the other SF Create (no:Opprett) functions seem to work alright.
Comment 2 Yaron Koren 2010-04-21 06:48:00 UTC
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
Comment 3 Even Thorbergsen 2010-04-21 20:22:34 UTC
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
Comment 4 Yaron Koren 2010-04-21 20:27:56 UTC
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?
Comment 5 Even Thorbergsen 2010-04-21 20:38:38 UTC
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
Comment 6 Even Thorbergsen 2010-04-21 20:44:07 UTC
I checked the other language files: Only the Norwegian ones have these SMW_NS_RELATION' and 'SMW_NS_RELATION_TALK' entries.
Comment 7 Yaron Koren 2010-04-21 20:49:38 UTC
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.
Comment 8 Even Thorbergsen 2010-04-21 21:25:23 UTC
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)
Comment 9 Yaron Koren 2010-04-21 21:40:41 UTC
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.
Comment 10 Even Thorbergsen 2010-04-21 23:29:26 UTC
It helped downloading Semantic MediaWiki (version 1.5.0.b-SVN).
Case closed.
Thanks!
Comment 11 Yaron Koren 2010-04-21 23:33:47 UTC
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".

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links