Last modified: 2014-04-03 22:14:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63027, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61027 - [RDFIO] Can't find SMW_SQLStore2
[RDFIO] Can't find SMW_SQLStore2
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Samuel Lampa
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-07 15:33 UTC by Leonard Wallentin
Modified: 2014-04-03 22:14 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Leonard Wallentin 2014-02-07 15:33:34 UTC
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).
Comment 1 Andre Klapper 2014-02-07 18:21:51 UTC
Samuel: https://www.mediawiki.org/wiki/Extension:RDFIO#Bugs.2C_new_feature_request_and_contact_information is really unhelpful and does not even propose a procudt or component. Please see https://www.mediawiki.org/wiki/Bug_management/Project_Maintainers#To_add_a_project_or_component and file a ticket.
Comment 2 Leonard Wallentin 2014-02-13 07:52:52 UTC
@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.''.
Comment 3 Samuel Lampa 2014-02-17 10:15:15 UTC
Thanks all for the report(s)!

I thought I had this working, but obviously not. Looking into it shortly!
Comment 4 zahara 2014-03-28 21:28:58 UTC
I'm also happy to help with this - am looking at the include paths & configuration variables
Comment 5 zahara 2014-04-02 19:31:51 UTC
Here's the setup details from the user.

SMW:    Semantic MediaWiki (Version 1.8.0.5)	(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 (https://github.com/semsol/arc2)
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)
Comment 6 Joel Sachs 2014-04-02 20:23:28 UTC
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?
Comment 7 zahara 2014-04-03 16:45:29 UTC
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.
Comment 8 Leonard Wallentin 2014-04-03 21:14:06 UTC
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.
Comment 9 zahara 2014-04-03 22:14:03 UTC
Great - glad to see it's working for you!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links