cancel
Showing results for 
Search instead for 
Did you mean: 

Mediawiki integration

tcaiati
Champ in-the-making
Champ in-the-making
Hi,

I've gotten latest sources in HEAD, compile alfresco.war, phpIntegartion.amp and mediawikiIntegration.amp.
I've installed the 2 amps in war and run alfreco.
Alfresco 2.9 is running fine.

Now, how I can create a mediawiki ?
Normaly, all *.php for mediawiki are installed.
I think, I'll find a button "create Wiki", but I don't see this button (perhaps it doesnot exist).

Here my question, how I can create a mediawiki ?

Regards,

Thomas
3 REPLIES 3

tcaiati
Champ in-the-making
Champ in-the-making
Hi,

Finally, I success in deploying mediawiki.
In fact, my alfresco.war was not well deployed by Tomcat.
So, now, I have a folder "Wiki" in companyHome whose contains datas ok mediawiki.
But, when I try to launch mediawiki, with : http://localhost:8080/alfresco/php/wiki/index.php?mediaWikiSpace=workspace://SpacesStore/d477be53-e3...
I have this tomcat error :
exception

com.caucho.quercus.QuercusException: org.alfresco.module.mediawikiintegration.MediaWikiSpace.getEvaluationString: null
   com.caucho.quercus.env.JavaMethod.invoke(JavaMethod.java:104)
   com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:615)
   com.caucho.quercus.program.JavaClassDef.callMethod(JavaClassDef.java:515)
   com.caucho.quercus.env.JavaValue.callMethod(JavaValue.java:285)
   com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:104)
   com.caucho.quercus.env.JavaInvoker.evalArguments(JavaInvoker.java:415)
   com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:170)
   com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126)
   com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
   com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
   com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
   com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
   com.caucho.quercus.env.Env.include(Env.java:3500)
   com.caucho.quercus.expr.IncludeOnceExpr.eval(IncludeOnceExpr.java:83)
   com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
   com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
   com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
   com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
   com.caucho.quercus.env.Env.include(Env.java:3500)
   com.caucho.quercus.expr.IncludeOnceExpr.eval(IncludeOnceExpr.java:83)
   com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
   com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
   com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
   com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
   com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
   com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:163)
   com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:353)
   org.alfresco.module.phpIntegration.servlet.AlfrescoQuercusServlet.access$001(AlfrescoQuercusServlet.java:50)
   org.alfresco.module.phpIntegration.servlet.AlfrescoQuercusServlet.service(AlfrescoQuercusServlet.java:112)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

I precise that I can use php module (for example, http://localhost:8080/alfresco/php/Examples/SimpleBrowse/index.php is working well).

Do you have an idea ?

thanks,

Thomas

tcaiati
Champ in-the-making
Champ in-the-making
Hi,

Finally, if you read the code, you see that this integration is not yet finished (many TODO)
We wait before purpose that to our customers.

Thanks,

Thomas

frank_s
Champ in-the-making
Champ in-the-making
Hi,

I'm seriously struggling to get this MediaWiki integration running. I've got the Quercus PHP running and executing PHP scripts, but I constantly get an error message

com.caucho.quercus.QuercusException: org.alfresco.module.mediawikiintegration.MediaWikiSpace.getEvaluationString: MediaWiki configuration for workspace://SpacesStore/41e0e414-1c33-11dd-bb43-0113d3261434 is not presnet.
   com.caucho.quercus.env.JavaMethod.invoke(JavaMethod.java:104)
   com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:615)
<…loads more …>

In the wiki ([url=http://wiki.alfresco.com/w/index.php?title=MediaWiki_Integration}MediaWiki Integration) it talks about a config file within the wiki space. Are there any details ANYWHERE that describe

  * what this config file is supposed to be called in order to be picked up by the mediawiki script,
  * what's supposed to be in it, and
  * what format this file has?

Would you be able to point me in the right direction?

Thanks in advance,

Frank.