How right you where. Now all I have to do is to understand how permissions are supposed to work in othAuth ... When I print out using $othAuth->getData data["Group"]["Permission"] is empty.
On May 1, 10:38 am, CraZyLeGs <[EMAIL PROTECTED]> wrote: > Likely you have an old version. Update your cake version, _viewVars > has been changed to viewVars. even in 1.1 > > On Apr 30, 9:44 am, matlin <[EMAIL PROTECTED]> wrote: > > > I tried to reply to a thread where people were having problems with > > oth_auth > > I got the error below when I started to use the component/helper and > > found a solotion. > > > Notice: Undefined property:hashkeyin > > /afs/su.se/services/www/hosts/www.lab.it.su.se/pages/cake/app/views/helpers/oth_auth.phponline > > 37 > > > I figured it out, in the oth_auth.php helper init function you need to > > change the check and loop from viewVars to _viewVars. > > > NOTE!! Add underscore to the variable. > > > I'm guessing this is something that could have been caught earlier if > > I had read the change log between 1.1 and 1.2 ... ;) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---