Sunday, April 25, 2010

Re: Undefined Property error in ACL tutorial (1.3.0-RC4)

On Apr 25, 3:40 pm, dreamingmind <dreamingmin...@gmail.com> wrote:
> 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

echo $session->flash();

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate