Package: dokuwiki
Version: 0.0.20091225c-3
Severity: important

ACL administration is not functional at the moment. The page 
"?do=admin&page=acl" renders normally, but if I attempt 
to view the permissions of a particular namespace (by clicking on the 
playground namespace for example), the following
error message appears:

Warning: require_once(/var/lib/dokuwiki/plugins/acl/../../../inc/init.php) 
[function.require-once]: failed to open stream: No such file or directory in 
/var/lib/dokuwiki/plugins/acl/ajax.php  on line 15

Fatal error: require_once() [function.require]: Failed opening required 
'/var/lib/dokuwiki/plugins/acl/../../../inc/init.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/var/lib/dokuwiki/plugins/acl/ajax.php on line 15

This seems related to the fact that the dokuwiki layout moves the 'inc' 
directory outside the DocRoot, but the plugin isn't capable
of handling this. Since the ACL plugin is part of the core dokuwiki 
distribution, a fix would be helpful.

I can partially resolve this by creating a symbolic link to 
/usr/share/dokuwiki/inc in /var/lib but trying this, triggers
another error:

The datadir ('pages') does not exist, isn't accessible or writable. You should 
check your config and permission settings. Or maybe you want to run the 
installer?

A search of the forums turns up this thread - 
http://forum.dokuwiki.org/thread/5220 which suggests settings a 'savedir' 
parameter in local.php. However, I haven't been able to get any relative or 
absolute path pointing to the pages directory
to work successfully.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-164.10.1.el5.028stab067.4 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dokuwiki depends on:
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  libphp-simplepie   1.1.1+debian-1        RSS and Atom feed parsing in PHP
ii  php-geshi          1.0.8.4-1             Generic Syntax Highlighter
ii  php5               5.2.6.dfsg.1-1+lenny8 server-side, HTML-embedded scripti
ii  ucf                3.0016                Update Configuration File: preserv

Versions of packages dokuwiki recommends:
ii  php5-cli           5.2.6.dfsg.1-1+lenny8 command-line interpreter for the p
ii  php5-gd            5.2.6.dfsg.1-1+lenny8 GD module for php5

dokuwiki suggests no packages.

-- debconf information:
  dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/system/configure-webserver: apache2
  dokuwiki/system/restart-webserver: true
  dokuwiki/system/documentroot: /dokuwiki
  dokuwiki/system/accessible: localhost only
* dokuwiki/system/purgepages: true



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to