Hi all,
on Cakephp 2.x following the cakephp manual I finally got Auth + ACL working.
Adding a new record to a table I get:

Warning (512): AclNode::node() - Couldn't find Aco node identified by "Array
(
    [Aco0.model] => User
    [Aco0.foreign_key] => 152
)
" [CORE/Cake/Model/AclNode.php, line 179]

Actually I've tried debugging this warning, but seems -to me- that ACL looks for the record before it is added to the aros table (?).
This causes the redirection after save to fail (due the output above)
The only solution I've found is to hack the core putting an ob_start() ... ob_end_clean() between the warn code.

Obviously I'm still missing something :P
Any advice?

Thanks,
Luca

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to