Hello,
 Have a look at this: http://blog.room34.com/archives/4480

The key section:

After following the migration docs, I was overly optimistic that things
would just *work.* They didn’t. First up, I encountered this:

Notice (8): Undefined property: PagesController::$Session
[APP/controllers/app_controller.php, line 383]

Your line number will probably be different, but if you’re using sessions at
all (and why *wouldn’t* you be?), you’ll get this error *somewhere.* It’s
not mentioned in the migration docs, but I found out
here<http://cakephp.lighthouseapp.com/projects/42648/tickets/302-cake-13-beta-session-problem>that
the Session component and helper are not instantiated automatically
anymore. The solution is quite easy though. In app_controller.php just make
sure that you add 'Session' to the arrays defined for var $components and var
$helpers.


On Sat, Jun 12, 2010 at 12:51 PM, Melanie Sommer <
[email protected]> wrote:

> Hello,
>
> I tried to migrate from 1.2.7 to 1.3.2.
>
> I downloaded cake 1.3.2 and ran the console to create a new project.
> All I did in this new project is edit the app_controler.php file and
> include the line
>
> var $helpers = array('Html');
>
> I then get the error message (when calling cake/myapp)
> "Notice: Undefined property: View::$Session [App/views/layouts/
> default.ctp]"
>
> What am I doing wrong?
>
> Thank you for your help!
> Melanie
>
> 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]<cake-php%[email protected]>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 [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