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



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

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?)

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.

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!

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptJan 28 2016, 6:11 PM

Add Comment