Re: SQL error with ACL ARO

2008-01-31 Thread Ben Wilson

On Jan 29, 2008 10:44 AM, david_setwise <[EMAIL PROTECTED]> wrote:
>
> Hi, I am running the 1.2 beta with mysql.  I am trying to setup ACL
> and have been following all the common tutorials out there like
> http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x
>
> When I run the setupAcl function, as detailed in the Bakery article, I
> get a SQL error about the aro.parent_id field: SQL Error: 1054:
> Unknown column 'Aro.parent_id' in 'field list'
>
> My aro table definitely does not have a parent_id field, but I thought
> I had the table structure correct.  Does anyone have any idea what I
> am doing wrong?

David, you're carping about the same thing I've raised. It seems that
the script that creates the database neglects the correct schema.
Nobody seems interested in addressing or resolving this.


-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



SQL error with ACL ARO

2008-01-29 Thread david_setwise

Hi, I am running the 1.2 beta with mysql.  I am trying to setup ACL
and have been following all the common tutorials out there like
http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x

When I run the setupAcl function, as detailed in the Bakery article, I
get a SQL error about the aro.parent_id field: SQL Error: 1054:
Unknown column 'Aro.parent_id' in 'field list'

My aro table definitely does not have a parent_id field, but I thought
I had the table structure correct.  Does anyone have any idea what I
am doing wrong?

Thanks,
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---