I use last version of dokuwiki (dokuwiki-2007-06-26b) and Drupal authentication using those queries: $conf['auth']['mysql']['checkPass'] = 'SELECT name AS \'login\' FROM users WHERE name=\'%{user}\' AND pass=MD5(\'%{pass}\')'; $conf['auth']['mysql']['getUserInfo'] = 'SELECT name, mail FROM users WHERE name=\'%{user}\''; $conf['auth']['mysql']['getGroups'] = 'SELECT r.name as `group` FROM role r, users u, users_roles l WHERE r.rid = l.rid AND l.uid = u.uid AND u.name=\'%{user}\' OR r.name = \'authenticated user\''; When an user try to login i get this: Warning: preg_grep() [function.preg-grep]: Compilation failed: internal error: overran compiling workspace at offset 17987 in /wiki/inc/auth.php on line 376 Warning: Invalid argument supplied for foreach() in /wiki/inc/auth.php on line 378 Warning: preg_grep() [function.preg-grep]: Compilation failed: internal error: overran compiling workspace at offset 17983 in /wiki/inc/auth.php on line 400 Warning: Invalid argument supplied for foreach() in /wiki/inc/auth.php on line 402 Warning: Cannot modify header information - headers already sent by (output started at /wiki/inc/auth.php:376) in /wiki/inc/actions.php on line 311 I've seen on the Internet and some other project has this issue. Could be a bug? Using user id 1 (the main user in drupal) i don't get any error. Thanks -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist