[dokuwiki] implementing auth module

Hello,

I'm trying to implement an Auth module, and am having some strange behavior.

Once wikipage output starts, nothing is displayed. Starting in tpl_content() I've walked through the code, and i can cause output to be displayed all of the way through to p_wiki_xhtml and finally into p_get_parsermodes. In p_get_parsermodes, it includes parser.php.

Going into parser.php, I can still get debugging output to show up. But as soon as parser.php trys to include handler.php, things die. Even if I put immediate output at the top of handler.php, the output will not be shown. If I replace handler.php with an empty file and echo some output, then I can see that. But as soon as I put the original handler.php back into place, no output is shown.

Now, if I turn off ACL, or revert back to the auth.plain, things work fine. Somehow what I am doing in my auth module (even though everything authenticates properly, and I have read (1) perms to view the current page) is somehow causing this failure.

Does anyone have input on how to debug what part of handler.php is causing the script to stop parsing? Any idea why handler.php is affected by the authentication module? I have no 3rd party plugins installed. I'm testing this on a fresh dokuwiki latest snapshot install.

chris

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: