Looking at the SQL debug the failing one is
SELECT `Aco`.`id`, `Aco`.`parent_id`, `Aco`.`model`,
`Aco`.`foreign_key`, `Aco`.`alias` FROM `acos` AS `Aco` LEFT JOIN
`acos` AS `Aco0` ON (`Aco`.`lft` <= `Aco0`.`lft` AND `Aco`.`rght` >=
`Aco0`.`rght`) WHERE `Aco0`.`model` = 'Post' AND `Aco0`.`foreign_key`
= 16 ORDER BY `Aco`.`lft` DESC

It seems as the Post model never creates the ACO upon saving... to
quote the tutorial from the Bakery "Above code, will now automatically
create a new aco for every new post that is posted. The Acl behavior
takes care of all details." :/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to