I was trying use a variable I created called $sessions which seems to be reserved for the cake session variable ( or maybe php? )
Anyhoo, just changing the name of my variable fixed the problem. Thanks. On May 26, 3:54 pm, "b logica" <[EMAIL PROTECTED]> wrote: > Check that your app/core.php has: > > Configure::write('Session.start', true); > > On Mon, May 26, 2008 at 9:04 AM, scoby <[EMAIL PROTECTED]> wrote: > > > I get the following error on my page > > > Fatal error: Call to a member function check() on a non-object in D: > > \htdocs\globaltrans\cake\libs\view\layouts\default.ctp on line 50 > > > the line mentioned has this: > > > if ($session->check('Message.flash')): > > $session->flash(); > > endif; > > > I haven't used any session vars in my controller or my view and I > > thought that the session helper would be created automatically. > > > Do I need to do something to get Session to start up? > > > I'm using 1.2.0.6311 beta. on windows with xampp > > PHP/5.1.6 > > > my controller: > >http://pastebin.com/m643da928 > > > my view just has the following > >http://pastebin.com/d3dd2882f > > > Any help appreciated :) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---