Last modified: 2008-08-29 19:45:32 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 T17354, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15354 - Error when upgrading to SMW 1.2.2 with MediaWiki 1.11.2
Error when upgrading to SMW 1.2.2 with MediaWiki 1.11.2
Status: CLOSED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-28 18:42 UTC by M G
Modified: 2008-08-29 19:45 UTC (History)
1 user (show)

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


Attachments

Description M G 2008-08-28 18:42:30 UTC
Immediately after updating SMW from version 1.2.1 to version 1.2.2 (that is, when pointing the "SemanticMediaWiki" extension subdirectory to the new version), this error appears:

Fatal error: Call to a member function _unstub() on a non-object in /var/lib/mediawiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 241

Apparetly, the new code is calling:

$wgParser->unstub()

and here the wiki explodes (so to speak) and nothing else happens.

Here are the details:

    * Can the problem be viewed online in a public wiki? 
            NO, INTRANET ONLY, SORRY
    * Which versions of SMW was used?
            1.2.2
    * Which version of MediaWiki was used?
            1.11.2
    * Which server setup was used (PHP, MySQL, OS)?
            PHP 5.2.4-2ubuntu5.3 (apache2handler)
            MySQL 5.0.51A-3ubuntu5.1
            Ubuntu 8.04 on an x86 machine (32-bit)
    * Can the problem be reproduced on a test page on our sandbox site?
            I DON'T KNOW
Comment 1 Markus Krötzsch 2008-08-29 06:30:15 UTC
This was a bug in SMW 1.2.2 (and there only). As a cure, download the fixed file http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMediaWiki/REL_1_2_2/includes/SMW_GlobalFunctions.php and use it to replace the file SemanticMediaWiki/includes/SMW_GlobalFunctions.php in your SMW installation.

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


Navigation
Links