Page MenuHomePhabricator

[RDFIO] Can't find SMW_SQLStore2
Closed, ResolvedPublic


Author: leo_wallentin

There seem to be an error in /stores/SMW_ARC2Store.php in the RDFIO extension:
line 9 reads require_once( "$IP/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php" );
but there is no such file. Changing that to require_once( "$IP/extensions/SemanticMediaWiki/includes/storage/compatSQLStore/SMW_SQLStore2.php" ); works (tried with SMW 1.8, 1.9 and current development version).

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:06 AM
bzimport set Reference to bz61027.

leo_wallentin wrote:

@Andre: If I put this bug in the wrong product category, it was not because of the documentation on this extensions description page, but because the instruction here on Bugzilla says ''Note: If you don't know which extension is affected, please file a report under MediaWiki→General/Unknown.''.

samuel.lampa wrote:

Thanks all for the report(s)!

I thought I had this working, but obviously not. Looking into it shortly!

zahara_ego wrote:

I'm also happy to help with this - am looking at the include paths & configuration variables

zahara_ego wrote:

Here's the setup details from the user.

SMW: Semantic MediaWiki (Version (a625bcf)
RDFIO: RDFIO (Version 1.9.0 alpha) (21f3878)
ARC: Not sure what version (can't find anything about that), but it's the same code as is currently on Github (
MediaWiki 1.21.5 (98e2d46)
PHP 5.3.3-7+squeeze19 (cgi-fcgi)
Validator (ParamProcessor) (Version 0.5.2 beta) (a3a25aa)
Wiki ObjectModel Extension (Version 1.0.2 alpha) (96e4ab1)

joel.sachs wrote:

I don't understand this bug. The current version (April 22, 2013) of /stores/SMW_ARC2Store.php doesn't include any "require_once" commands. An older version did, but it looks like the offending line was changed to the one that Leonard recommends on April 15, 2013. The only place I see

require_once( "$IP/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php" );

is in stores/.svn/text-base/SMW_ARC2Store.php.svn-base .

Am I overlooking something?

zahara_ego wrote:

Joel - that's what I found. I've asked the user to upgrade the extension and dependencies and see if he's still getting an error. If he does, that will be either one of the other existing bugs logged or a new one.

leo_wallentin wrote:

Hey, sorry for the delay. I pulled all the latest code now, and it is working (well, at least this error is not occuring). Marking as resolved.

zahara_ego wrote:

Great - glad to see it's working for you!