[pmwiki-users] Problem with Cookbook CommentBox and beta 32

Radu radu at monicsoft.net
Wed Apr 27 08:09:23 CDT 2005


BasicAuth was replaced a way back with PmWikiAuth. Someone needs to update 
the CommentBox recipe.

Pm, could this problem be fixed by some 'forwarder' BasicAuth, that just 
calls the new auth? Many cookbook recipes seem to have broken around that? 
Or is the new version incompatible with the old one?

At 07:30 AM 4/27/2005, you wrote:
>I have just upgraded to beta 32 and something seems to have broken the 
>CommentBox cookbook script. When I try to save a comment I get:
>
>
>Fatal error: Call to undefined function: basicauth()
>
>which is in the function:
>
>function BypassAuth($pagename,$level,$authprompt=true) {
>     global $AuthFunction,$oAuthFunction;
>     if ($level=='edit') $AuthFunction = $oAuthFunction;
>     return $oAuthFunction($pagename,"read",$authprompt);
>}
>
>Looking at the source I notice the function is called BasicAuth and is in 
>httpauth.php. I guess that the commentbox script isn't finding 
>httpauth.php for some reason. My knowledge of PHP is strictly limited, so 
>I can't see how the CommentBox script should be including the BasicAuth 
>function. Can someone please enlighten me.
>
>Ian.
>
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users

Cheers,
Radu
(www.monicsoft.net)  




More information about the pmwiki-users mailing list