oneoho's picture

Hi Gents,

The ACL configuration in your dokuwiki appliance isn't functioning correctly due to a bug in the ajax configuration.

The problem is in the php script /var/lib/dokuwiki/plugins/acl/ajax.php
 

if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../../');

This is pointing to the wrong path

if(!defined('DOKU_INC')) define('DOKU_INC','/usr/share/dokuwiki/');

resolved the issue for me

Forum: 
Jeremy Davis's picture

PS I just removed the extra line breaks from the end of your post. If you get a chance before me, it may also be worth noting on the bug tracker.

Richard Ingram's picture

Would this be the same problem with the ACLs on Turnkey PDC?
Jeremy Davis's picture

If you read the first post carefully you'll see the bug is in an ajax script in: /var/lib/dokuwiki/plugins/acl/ajax.php

That looks like a DokuWiki specific script to me. :)

Richard Ingram's picture

I realize that the post was specifically about a dokuwiki problem, but I was asking if the same sort of thing could account for the difficulties I have been having. Please disregard the question.

Add new comment