Re: Table prefix bug in 2.0.0-dev when deleting?
Make sure that you have associated your models correctly as described
in the CakePHP book at:
http://book.cakephp.org/view/1039/Associations-Linking-Models-Together
Also it is a good idea to show the same associations here in the
thread, so that we may comment on them!
Enjoy,
John
On 6 Feb., 15:06, Matthias <matthias.gruetz...@googlemail.com> wrote:
> Sorry for double post...
> The above statement is the first that appears in the sql debug table,
> directly followed by the delete statement:
>
> DELETE `WorkshopDescription` FROM `cosy_workshop_descriptions` AS
> `WorkshopDescription` LEFT JOIN `description_categories` AS
> `DescriptionCategory` ON
> (`WorkshopDescription`.`description_category_id` =
> `DescriptionCategory`.`id`) LEFT JOIN `cosy_workshops` AS `Workshop`
> ON (`WorkshopDescription`.`workshop_id` = `Workshop`.`id`) WHERE
> `WorkshopDescription`.`id` = 3 1146: Table
> 'cosynt.description_categories' doesn't exist
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home