Hi all, I'm new to Cake and I come more from a design background... so be gentle :)
I trying to setup the obAuth component - http://bakery.cakephp.org/ articles/view/121 Whenever I try to secure certain actions in my controllers ($this- >obAuth->lock(array(2));), I get an error similar to this: Notice: Undefined property: NewsController::$obAuth in C:\wamp\www\cake \app\controllers\news_controller.php on line 21 Fatal error: Call to a member function lock() on a non-object in C: \wamp\www\cake\app\controllers\news_controller.php on line 21 If I try to get into the login view I get this error: Fatal error: Class 'UsersController' not found in C:\wamp\www\cake\cake \dispatcher.php on line 155 This is my setup: in: /app/controllers/components - I have the component code in a file named ob_auth.php <-- is that the correct naming convention? I've tried all other combinations I can think of i.e. obAuth.php, ob_Auth.php, ob_auth_component etc. I have a users controller as per the tutorial I have a model for 'user' and 'group' with the relationships setup as described. Can anybody give me some pointers here??? Thanks in advance. -Brett. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---