Assuming you are running on v1.2, you now have to specify
loadModel('Session');
before allocating a model not specified in the uses array. Models are
no longer automatically loaded but are loaded only as needed to
improve performance.
HTH,
David Lloyd
--
lloydhome consulting
http://lloydhome.com
On Feb 10, 6:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm playing around with usermgmt from the cakeforge
>
> The component auth.php is having problems with this...
>
> $session = &new Session;
>
> I have session.php in my models directory and it all looks good. From
> my research I can see that this should be valid.
>
> However the error I get is Cannot instantiate non-existent class:
> session in ...
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---