Hi Michael,

What version of symfony are you using?

Kris

On Oct 10, 10:15 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Which log do you mean? Symfony logs many informations (debug
> enviroment). The first are logged, when the routing is configured (as
> in sf 1.2). I don't think that the session data is available at this
> time.
>
> Michael
>
> On 10 Okt., 17:51, jasonb <[EMAIL PROTECTED]> wrote:
>
> > any ideas?
>
> > On Oct 9, 5:19 pm, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > When, and in which context is this class called?
> > > It seems, that whenever your class is called, the "User" object is not
> > > created yet.
> > > So when do you call it in your request?
>
> > > Michael
>
> > > On 9 Okt., 20:55, jasonb <[EMAIL PROTECTED]> wrote:
>
> > > > this must be a difficult thing to do since I've asked on the forum and
> > > > the IRC channels and no one knows?
> > > > can someone at least direct me to where I might find my answer?
>
> > > > On Oct 9, 2:42 pm, jasonb <[EMAIL PROTECTED]> wrote:
>
> > > > > Im trying to use session variables in my /lib/mylogger.php class
>
> > > > > everytime i reference
> > > > > $username =  sfContext::getInstance()->getUser()-
>
> > > > > >getAttribute('Username');
>
> > > > > the code says
> > > > > Fatal error: Call to a member function getAttribute() on a non-object
>
> > > > > but I've been struggling and I even tried doing a
> > > > > print_r(sfContext::getInstance()) and i see the attribute in the page
> > > > > but it wont allow me to access it ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to