Hi guys,

I have this cakephp problem when trying to use "$session->flash()"
this error occurs "Notice (8): Undefined variable: session [APP\views
\layouts\login.ctp, line **]".

"Fatal error: Call to a member function check() on a non-object in **
\www\cakeapp\app\views\layouts\login.ctp on line **"

It seems the session variable is not defined. But I've used "$this-
>Session->setFlash('this is error message','flash_error')" and this
automatically create a session variable.

Am I missing something here? I need your help guys.

Thank you!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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