Does your model have AclBehavior set up?

public $actsAs = array('Acl' => 'controlled');

On Tue, Aug 28, 2012 at 12:07 PM, Elhelaly <[email protected]> wrote:
> Using Cakephp 2.1.2
> I am trying to make a method to generate the Aco's (check if there is a new
> controller or methods and add it in aocs table)
> I have a problem with using the node method , get this error
>
> Database Error
>
> SQL Query: node
>
>
> my method code in usersController.php
>
> public function admin_generate() {
>         $this->loadModel("Aco")
>
>        $root = $this->Aco->node('controllers');
>
> }
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to