Semantic Forms 2.5.1 fails with SMW 1.7.1 and Mediawiki 1.20alpha: Class 'SMWSQLStore2' not found
Closed, ResolvedPublic


Mediawiki 1.20 stable is expected to come out this month (Nov.) and we are currently testing the 1.20alpha version. It works ok with all non-SMW extensions used on our site ( as well as with SemanticMediaWiki, SemanticResultFormats, and SemanticDrilldown in versions 1.7.1, 1.7.1, 1.2.2 respectively.

However, as soon as SemanticForms in version 2.5.1 (or SemanticInternalObjects in version 0.6.9) are added, both normal pages and Special:Version fail.

For SemanticForms the error is:
Fatal error: Class 'SMWSQLStore2' not found in ....mediawiki20/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 279

Version: unspecified
Severity: normal

bzimport set Reference to bz41640.
G.Hagedorn created this task.Via LegacyNov 1 2012, 4:33 PM
G.Hagedorn added a comment.Via ConduitNov 1 2012, 4:34 PM

(I have also submitted a bug report for the similar bug in SemanticInternalObjects: Bug 41641)

Yaron_Koren added a comment.Via ConduitNov 1 2012, 5:32 PM

Are you calling both SF and SIO after both the inclusion of SMW and the call to enableSemantics() in LocalSettings.php? (And after the setting of $smwgDefaultStore, if that's being set?)

G.Hagedorn added a comment.Via ConduitNov 1 2012, 5:46 PM

Yes, the sequence is such and it is also identical to a working sequence (for MW 1.18/SMW 2.3.2, see $smwgDefaultStore is not set.

G.Hagedorn added a comment.Via ConduitDec 12 2012, 12:52 PM

The error no longer occurs with mw 1.20.2, SMW 1.8 and SemanticForm tags/2.5.1.

Thank you for testing and helping!

Add Comment