Did you include "obAuth" in the components variable in your
controller?
For example in your controller you should have:
var $components = array('obAuth');
On Feb 8, 5:58 am, "double07" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm new to Cake and I come more from a design background... so be
> g
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:
What's the name of your User model and $this->user_model should be the
name of that model.
So if you have a User model called "User" then var $user_model should =
"User"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
On 05-Nov-2006, at 11:20, gobblez wrote:
I'm getting errors with the obAuth component.
Notice: Undefined property: UsersController::$User in C:\Program
Files\xampp\htdocs\app\controllers\components\ob_auth.php on line 39
Fatal error: Call to a member function find() on a non-object in
C:\Prog
I'm getting errors with the obAuth component.
Notice: Undefined property: UsersController::$User in C:\Program
Files\xampp\htdocs\app\controllers\components\ob_auth.php on line 39
Fatal error: Call to a member function find() on a non-object in
C:\Program Files\xampp\htdocs\app\controllers\compo