Wednesday, December 29, 2010

DbAcl Failed ARO/ACO node lookup (SOLVED accidentally)

~~ERROR msg~~

Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in
permissions check. Node references:
Aro: User::44
Aco: Post [CORE\cake\libs\controller\components\acl.php, line 273]

~~
The error is shown above. I solved this accidentally, maybe someone
could rectify if my solution is correct?

The full story how I ended up with this error can be read here:
http://groups.google.com/group/cake-php/browse_thread/thread/478daa30a5c26e18

Suggestion to repopulate the Acl tables was not attempted before I
could, I solved it when reading cookbook here:
http://book.cakephp.org/view/1244/Defining-Permissions-Cake-s-INI-based-ACL

Extracted from cookbook:
~~~~~~
//Change these lines:
Configure::write('Acl.classname', 'DbAcl');
Configure::write('Acl.database', 'default');

//To look like this:
Configure::write('Acl.classname', 'IniAcl');
//Configure::write('Acl.database', 'default');
~~~~~~

Suggestion(s) ?

Regards,
Maxim

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: