[pmwiki-users] Problem with login after uprading to Pmwiki2.2.0-beta44
Patrick R. Michaud
pmichaud at pobox.com
Mon Apr 16 16:31:18 CDT 2007
On Mon, Apr 16, 2007 at 05:10:26PM -0400, Jason Frisvold wrote:
> >The real question at this point is, when/how is authentication
> >being requested on your site such that PmWiki isn't being
> >given a complete pagename? If we know that, we might be able to
> >find a reasonable solution.
>
> I have a farm config.. of sorts [1].. :) When I initially login,
> I'm logging in at the directory level. In fact, I don't think I ever
> intentionally login with a full path.
How do you mean "I'm logging in at the directory level?"
What's the url that you're using that contains ?action=login ?
> So I believe that
> ResolvePageName is needed before I can login.
>
> What would be the effect of running ResolvePageName immediately before
> all calls to FmtPageName? Would that resolve the problem?
Yes, explicitly calling
$pagename = ResolvePageName($pagename);
prior to loading authuser.php will fix the problem for you.
Pm
More information about the pmwiki-users
mailing list