cancel
Showing results for 
Search instead for 
Did you mean: 

Mediawiki-Integration: How to set the correct path?

nicof
Champ in-the-making
Champ in-the-making
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)
1 REPLY 1

nicof
Champ in-the-making
Champ in-the-making
It seems, that $alfWikiStore has to remain default, otherwise I get this message:

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

The (slightly changed) path is working to me as follows:

 /** Store that should be used to store the wiki content in **/
$alfWikiStore = "workspace://SpacesStore";

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