On Tue, Oct 6, 2009 at 9:42 AM, Manu <[email protected]> wrote: > > Hi > > I'm trying to do the acl tutorial from the cake docs. > Unfortunately I can't edit the permissions. > When I try to setup the permissions I get this warning. > > Warning (512): DbAcl::allow() - Invalid node [CORE\cake\libs\controller > \components\acl.php, line 325] > > I also tried to set up permissions with the console tool. But I get > the same warning. I also tried different nodes and > it doesn't matter if I try to allow or deny. > I have the entries in the tables. I setup groups and users and I also > have the acos which I added with the build acl function from the > tutorial. > > maybe It has something to do with my Apache, PHP or mysql > configuration. > I just installed everything and maybe I missed something. > I have apache http server 2.2 with php 5.2.11. > > any ideas ?
Can you post your code? The error is triggered because Cake can't find the association between nodes. Look at DbAcl::getAclLink(() in the AclComponent file. --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
