[pmwiki-users] Can't login with Site.AuthUser

Jeff Alperin jalperin at gmail.com
Tue Jul 25 16:17:13 CDT 2006


Great!  Adding:     $pagename = ResolvePageName($pagename);    resolved the
problem.

But, I don't understand what it does or why I needed to add it.  Can you
explain?

Thanks for the help.

On 7/25/06, H. Fox <haganfox at users.sourceforge.net> wrote:
>
> On 7/25/06, Jeff Alperin <jalperin at gmail.com> wrote:
> > Additional information:
> >
> > The login works correctly only if I'm trying to browse to a page in this
> > format:
> > http://www.mysite.com/wiki/pmwiki.php?n=Main.HomePage
> >
> > Using either of the following, the login fails:
> > http://www.mysite.com/wiki/pmwiki.php
> > http://www.mysite.com/wiki
> >
>
> Try
>
>    $pagename = ResolvePageName($pagename);
>    include_once('scripts/authuser.php');
>    $DefaultPasswords['edit'] = 'id:*';
>    $DefaultPasswords['read'] = 'id:*';
>    $DefaultPasswords['upload'] = 'id:*';
>
> Hagan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060725/2e678531/attachment.html 


More information about the pmwiki-users mailing list