Addl. info from SamLT below that didn't make into the bug report. -- Balaji
---------- Forwarded message ---------- From: SamLT <samuel.leth...@intelunix.fr> Date: Sat, Jul 10, 2010 at 6:44 PM Subject: Re: Bug#588405: dokuwiki: Attempting to view or modify namespace ACLs fails To: tanguy+deb...@ortolo.eu <tanguy%2bdeb...@ortolo.eu>, balaji.d...@gmail.com Cc: 588...@bugs.debian.org Note: sorry it this appear to be a dup, but I sent this message yesterday to 588...@bugs.debian.org, the message still doesn't appear on the bug report, so I send it to you directly (and cc it to the bug again just in case) Hello, I was having the same problem with the previous revison, then I tried this one (0.0.20091225c-4): Like Balaji Dutt, I first purged dokuwiki, then delete /etc/dokuwiki and /var/lib/dokuwiki. Since the debian dokuwiki page [1] looked updated (see News), I followed those instructions. But then I had the same error as above: (only in apache's error.log though -nothing on the screen-) | PHP Warning: require_once(/var/lib/dokuwiki/plugins/acl/../../../inc/init.php): failed to open stream: No such | file or directory in /var/lib/dokuwiki/plugins/acl/ajax.php on line 15 | PHP Fatal error: require_once(): 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 Since Balaji Dutt didn't mention the command: | chown -R www-data /etc/dokuwiki/ /usr/share/dokuwiki/lib/ I assumed it wasn't needed anymore, so I purge dokuwiki again: | dpkg -P dokuwiki (btw see [2]) Let's start all over again, and here is precisely what I've done: 1) sudo dpkg -i /var/cache/apt/archives/dokuwiki_0.0.20091225c-4_all.deb -> Web server(s) to configure automatically: [*] apache2 -> Purge pages on package removal? <Yes> -> Administrator password: ******** (2 times) 2) can't login as admin, in apache's error.log: | PHP Warning: include(): Failed opening '/etc/dokuwiki/local.php' for inclusion | (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/dokuwiki/inc/init.php on line 108 3) well for some reasons, the default rights for /etc/dokuwiki/local.php* are | -rw------- 1 root root 298 Jul 9 15:11 local.php | -rw-r--r-- 1 root www-data 736 Jan 17 11:35 local.php.dist -> sudo chgrp www-data /etc/dokuwiki/local.php -> sudo chmod go+r /etc/dokuwiki/local.php 4) login as admin: OK 5) still the same error on the 'Access Control List Management' page With this detail message, I hope we can improve the debian package so that 3) isn't needed anymore. And more importantly I'd like to know a) if the steps on [1] are still required, it doesn't look like but just to be sure. b) what exactly I have to do to have it working? I see you mention the php.ini file, the DOKU_INC variable, but I'm still not sure what to do(which is as 'clean' as possible) Thanks a lot for your help. [1] http://www.dokuwiki.org/install:debian [2] it looks like there is a problem with the dokuwiki.postrm script if lighttpd is not installed. see the dokuwiki.postrm.diff file attached for a possible fix
--- dokuwiki.postrm.old 2010-07-09 14:48:31.336133111 +0100 +++ dokuwiki.postrm 2010-07-09 15:27:02.684132323 +0100 @@ -28,7 +28,7 @@ done # Remove lighttpd configuration - lighty-disable-mod dokuwiki + lighty-disable-mod dokuwiki 2>/dev/null || true rm -f /etc/lighttpd/conf-available/50-dokuwiki.conf if [ -x /usr/bin/ucf ]; then