Last modified: 2012-10-05 21:26:59 UTC
I tried to test out SQLStore3 by adding the following to LocalSettings.php: $smwgDefaultStore = "SMWSQLStore3"; However, when I go to a property page, I see the following error message: Catchable fatal error: Argument 2 passed to SMWSql3StubSemanticData::__construct() must be an instance of SMWSQLStore, instance of SMWSQLStore3 given, called in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 51 and defined in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_Sql3StubSemanticData.php on line 55 And when I go to Special:SMWAdmin and press the button to create the new database tables, I get the following error: Catchable fatal error: Argument 1 passed to SMWDataItemHandler::__construct() must be an instance of SMWSQLStore, instance of SMWSQLStore3 given, called in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php on line 191 and defined in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_DataItemHandler.php on line 25
Should be fixed by https://gerrit.wikimedia.org/r/#/c/25873/ Can you confirm?
Or rather, this should fix the issue you encountered. SQLStore3 is still not quite ready for production usage. For one, containers don't work yet.
This was a minor issue already identified and fixed in https://gerrit.wikimedia.org/r/#/c/19378/ but still in review..
Hey, it looks like it's working now! I don't know what was changed, but the error messages are gone with the latest Git code. Setting to "fixed".