Wednesday, August 29, 2012

Re: node in Acl behavoir

Does your model have AclBehavior set up?

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

On Tue, Aug 28, 2012 at 12:07 PM, Elhelaly <rezk84@gmail.com> 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 cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> 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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.

No comments: