Last modified: 2014-01-21 12:55:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 25756 - [RDF] "Cannot redeclare class arc2"
[RDF] "Cannot redeclare class arc2"
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-02 20:41 UTC by moove
Modified: 2014-01-21 12:55 UTC (History)
3 users (show)

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


Attachments

Description moove 2010-11-02 20:41:27 UTC
Hello

I just tried to install your RDFIO SMW-Extension according to http://www.mediawiki.org/wiki/Extension:RDFIO#Installing_RDFIO but ran into problems. 
After adding ARC2 to the library of the SMW extension, the following error is thrown when I try to access the wiki:
"Fatal error: Cannot redeclare class arc2 in C:\[...]\mediawiki\extensions\SemanticMediaWiki\libs\arc\ARC2.php on line 17".

I am using SMW+ 1.5.1 (=windows, xampp), which already comes with quite some extensions installed. The following (installed) extensions already seem to use ARC (as they have an arc-folder in their library folder):
- HaloACL
- DataImport
- LinkedData
- SMWHalo

My suggestion: Maybe RDFIO should check whether ARC is already "loaded" before loading it itself. I guess the above mentionned extensions have kind of such a behavior (otherwise I an't explain why this error didn't occur earlier)...

I look forward to hearing from you and being able to use the RDFIO-Extension, which sounds very nice!

Kind regards from Switzerland,
Simon
Comment 1 Jeroen De Dauw 2011-07-29 15:30:19 UTC
I think you better contact the Ontoprise people for this, or at least point them here.
Comment 2 Samuel Lampa 2011-07-29 16:22:07 UTC
I realize that there is the ARCLibrary extension, which is actually what ontoprise uses, but which is available open source on sourceforge, so I thought I'd make RDFIO depend on that instead of loading arc itself. 

(Plan to look at it during the weekend).
Comment 3 Samuel Lampa 2011-07-29 16:22:26 UTC
Oh, and the link: http://www.mediawiki.org/wiki/Extension:ARCLibrary
Comment 4 Andre Klapper 2013-01-09 13:20:17 UTC
Samuel:
This report has been in ASSIGNED status for more than one year and you are set as its assignee. In case that you are not actively working on a fix, please reset the bug status to NEW/UNCONFIRMED.
In case you do not plan to work on a fix in the near future: Please also edit the "Assigned To" field by clicking "Reset Assignee to default", in order to not prevent potential contributors from working on a fix. Thanks for your help!
[assigned>=1y]

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


Navigation
Links