[pmwiki-users] Fwd: AuthUser problem
Jason Frisvold
xenophage0 at gmail.com
Fri Apr 6 09:36:15 CDT 2007
At the risk of being yelled at, I'm re-submitting this again. I've
checked the configuration a dozen times and I can't seem to determine
what I'm missing. I'm headed back to check it again, but at this
point I really could use a point in the right direction... :)
Thanks!
On 4/3/07, Jason Frisvold <xenophage0 at gmail.com> wrote:
> On 4/3/07, Jason Frisvold <xenophage0 at gmail.com> wrote:
> [snip]
> > Are there any debugging options I can enable to determine what's going
> > on? Or should I just start stepping through the code?
>
> So I started debugging. The $auth array never gets set. I'm rather
> confused as to why, though.
>
> I *think* the problem might have something to do with $pn being
> incorrectly set. Or, at least, I think it's incorrectly set. If I
> print out the value of $pn just after it's set via FmtPageName, it has
> a value of .AuthUser ... Shouldn't that be Site.AuthUser?
>
> I tried changing this line :
>
> SDV($AuthUserPageFmt, '$SiteGroup.AuthUser');
>
> to this :
>
> SDV($AuthUserPageFmt, 'Site.AuthUser');
>
> This resulted in the user being authenticated correctly. So, the
> question is, why is $SiteGroup not pointing at Site properly?
>
> Note : I really have no idea where this is set to begin with, so I'm
> not sure what $SiteGroup is actually for...
>
> Thoughts?
>
> --
> Jason 'XenoPhage' Frisvold
> XenoPhage0 at gmail.com
> http://blog.godshell.com
>
--
Jason 'XenoPhage' Frisvold
XenoPhage0 at gmail.com
http://blog.godshell.com
More information about the pmwiki-users
mailing list