IsnĀ“t the ->flash a methode of 1.3 ? Do you use 1.2 core?

As I know in 1.2 you have to ->setflash and a redirect...

On 9 Jul., 21:51, gautam lakum <lakum7...@gmail.com> wrote:
> I am getting this error in my default.ctp layout.
>
> Notice (8): Undefined variable: session [APP\views\layouts
> \default.ctp, line 74]
> Code | Context
>
> Fatal error: Call to a member function flash() on a non-object in C:
> \wamp\www\rentcar1\app\views\layouts\default.ctp on line 74
>
> This is the layout html I have written.
>
> <div class="span-24 last" style="width:100%;text-
> align:right;background:#F18235;color:#ffffff;">
> <?php $session->flash(); ?>
>
> Please help. I am not getting what is happening there?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to