Page MenuHomePhabricator

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

Description

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 (biowikifarm.net) 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

Details

Reference
bz41640

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:03 AM
bzimport set Reference to bz41640.

(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 1.7.0.2/SF 2.3.2, see http://biowikifarm.net/meta/Special:Version). $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!