In your app/app_controller.php, try adding the Session object to the
components used,
var $components = array('Session');
Rich
On Jan 4, 7:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> This is my first post here, and I'm working on my first project with
> cake. I've read through documentation and previous posts here until
> I've gone cross-eyed, so forgive me if the answer to this question
> seems obvious; it's just not obvious to me.
>
> First off, I'm using cake ver 1.1.18.5850. I downloaded usermgmt from
> cakeforge and tried to incorporate it into my app. I can't get it to
> work, and the first error it gives me is:
>
> Fatal error: Class 'Session' not found in .../auth.php on line 114
>
> So, I try the ugly fix:
>
> include_once(ROOT.DS.APP_DIR.DS.'models'.DS.'session.php');
>
> at line 111. This was reported to work in one forum entry I read.
> However, this gives me the error:
>
> Fatal error: Class 'AppModel' not found in .../app/models/session.php
> on line 17
>
> Which leads me to believe that I'm just loading things in the wrong
> order, and I don't want to go down that rabbit hole.
>
> Another forum entry said to use loadModel('Session') to fix the
> problem, but I can't find instructions for how and where to use this
> in the manual or the API documentation. Can anyone provide an example
> of how to get usermgmt running?
>
> Thanks,
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---