On Feb 22, 1:42 pm, "the_woodsman" <[EMAIL PROTECTED]> wrote:
> Interesting -  to my knowledge, beforeFilter is called whenever you
> request a page through the dispatcher, so any calls to requestAction
> in your view or controller may cause beforeFilter to trigger again.
>
> Rather than logging "$this->log('login->beforefilter():'.$this->bft.
> $this->name); "
> Try logging the actual action that was called, i.e $this->action, to
> see what triggered the beforeFilter.
>
> Wood
>
> On Feb 22, 7:42 am, "pieceofcakephp" <[EMAIL PROTECTED]> wrote:
>
> > I have this code (below), but when it run 
> > fromhttp://localhost/app/users/login
> > I see the log for function "beforefilter()" call 3 times
>
> > 2007-02-22 14:32:44 Error: login->beforefilter():0Users
> > 2007-02-22 14:32:44 Error: defaultX.X.XUsers
> > 2007-02-22 14:32:44 Error: login():Users
> > 2007-02-22 14:32:44 Error: login->beforefilter():0Users
> > 2007-02-22 14:32:44 Error: defaultX.X.XUsers
> > 2007-02-22 14:32:45 Error: login->beforefilter():0Users
> > 2007-02-22 14:32:45 Error: defaultX.X.XUsers
>
> > is this default behaviour?
> > I am using the latest 1.2 from svn
>
> > Regards, Widi
Try logging the current url. I bet you'll find that there are (2)
erroneous css, js or img tags in the view/layout to blame.

HTH,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to