AnsweredAssumed Answered

Mediawiki-Integration: How to set the correct path?

Question asked by nicof on Jul 17, 2008
Latest reply on Jul 18, 2008 by nicof
Hi everyone,

I am currently trying to integrate a Mediawiki to Alfrasco as described in http://wiki.alfresco.com/wiki/Alfresco_MediaWiki_Installation_Instructions. The Space I would like the wiki-contents to be stored in is under Company Home: Projects/mediawiki/mediawiki/. I configured the  AlfrescoConfig.php as follows:

 $alfDebug = true;

/** The web service end point that will be used when accessing the Alfresco repository **/
$alfURL = "http://hostip:8080/alfresco/api";

/** Store that should be used to store the wiki content in **/
$alfWikiStore = "workspace://SpacesStore/aa85d891-42c2-11dd-8a56-9d9dae762acd";

/** Path to the space the contains the wiki content **/
$alfWikiSpace = "app:company_home/cm:Projects/mediawiki/mediawiki";

/** User credentails used to connect to Alfresco with **/
$alfUser = "XXXXX";
$alfPassword = "XXXXX";

When opening the wiki's starting page, I get a notice:

Notice: Undefined offset: 0 in /var/www/html/mediawiki/extensions/ExternalStoreAlfresco.php on line 114

and when creating a new page I get

Notice: Undefined offset: 0 in /var/www/html/mediawiki/extensions/ExternalStoreAlfresco.php on line 114

Fatal error: Call to a member function createChild() on a non-object in /var/www/html/mediawiki/extensions/ExternalStoreAlfresco.php on line 148


I assume I didn't really understand the way, the path has to be configured. Could someone help me please?


Thanks in advance!


Nico


(Alfresco 2.1 CE on Centos 5)

Outcomes