Le mercredi 07 juillet 2010, Balaji Dutt a écrit :
> 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.

Yes, indeed. I have introduced a PHP code to be prepended by the web
server to all plugins PHP files, that defined DOKU_INC. Can you try
version 0.0.20091225c-4, currently on unstable, and check if it solves
this problem?

-- 
Tanguy Ortolo

Attachment: signature.asc
Description: Digital signature

Reply via email to