Though that didn't directly solve the problem, it put me onto the solution. Reading the section again I realized it said:
"flash() was the only helper method that auto outputted"
Um, Helper method. I had the Session component working but not the session helper.
Don
On Sun, Apr 25, 2010 at 1:12 PM, cricket <zijn.digital@gmail.com> wrote:
On Apr 25, 3:40 pm, dreamingmind <dreamingmin...@gmail.com> wrote:echo $session->flash();
> I haven't been able to figure out why I'm getting
> Undefined property: View::$Session [APP/views/layouts/default.ctp,
> line 43]
>
> I've got the the line
> var $components = array('Acl', 'Auth', 'Session');
> in app_controller.php which is stored in app/ not app/controllers/.
>
> The line causing the error is
> <?php echo $this->Session->flash(); ?>
> in default.ctp
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment