tags:

views:

499

answers:

2

I created an application using the method described in the "http:// book.cakephp.org/view/641/Simple-Acl-controlled-Application" but after I try to log in there is an error which says, "DbAcl::allow() - Invalid node [CORE\cake\libs\controller\components\acl.php, line 325]"

I did exactly same as mentioned in the website but after loggin in I am given this error msg.. Please help me rectify this. Any help is greatly appreciated.....

thanks gaurav sharma

A: 

Not enough information to provide an answer, but that error means that something is wrong in your ACL trees, ARO or ACO, or you're sending the wrong parameter to allow().

Try using the acl console to find out whether your ARO/ACO trees are organized properly, as described in the tutorial. If they are not, truncate your ACL tables and start inserting from scratch. But very carefully this time! :-P

dr Hannibal Lecter
A: 

yes. something is definitely wrong because as described in the method there the aros tables should have the structure exactly to that of mentioned in that section. when I created groups using the CRUD generated by cakephp all went properly to the database but the users info is not updated in the aros table. I will again give it a try to see if I am doing something wrong..