
|
[dokuwiki]
||
[Date Prev]
[12-2005 Date Index]
[Date Next]
||
[Thread Prev]
[12-2005 Thread Index]
[Thread Next]
[dokuwiki] Re: preg_match error when using ldap and csv
- From: Steven Danz <steven-danz@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 08 Dec 2005 19:05:42 -0600
Brian G wrote:
Hello there, I'm running Release 2005-09-22e and using ldap
authentication and the CSV plugin.
When users are logged in, they don't have any problems viewing/editing
pages. But when an anonymous user reads a page, they keep getting an
"Unknown modifier" in the auth.php section. I've tried to look at it
myself, but I'm not very good at php and even less good at regular
expressions.
*Warning*: Unknown modifier 'r' in
*/usr/www/html/unixwiki/inc/auth.php* on line *259
*Here is the actual expression its trying to match (I just did an echo
to get this string):
/^/usr/www/html/unixwiki/data/media/wiki/iuscreport.csv\s+(@ALL)\s+/
and here is my acl file
* @ALL 1
* @Domain_Users 8
*
*If I remove the CSV file from the page the error goes away, so I
guess its more of a problem with the plugin, but I wanted to check
here first to see if the regular expression could be changed to handle
whatever is causing the hickup. I really like the CSV plugin.
*
*
I believe this is from my plugin. I was using the quickaclcheck() wrong
in 2 ways, one, to check a file name, and two, to check media files.
Looking over it again, the ACLs don't apply to media files, so I'm
changing it to check only the namespace.
New version will be available shortly. Sorry for the mixup!
Steven
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|