Hi,
>From the look of it I'm assuming you are using a Has And Belongs To
Many (HABTM) relation. For scaffolding to work properly your table
names, and foreign key relations have to strictly follow the cake
conventions, and your models need to have the correct relations put in
 Would you like to paste your actual database schema, models and , to
help understand the problem better?

Regards
Vinci


On Nov 30, 11:10 pm, Luke <[EMAIL PROTECTED]> wrote:
> I am not sure what I did, but for some reason the edit action isn't
> working in any of my controllers. It keeps telling me "Invalid id for
> Order::edit()". Why would it be doing that? Here is an example
> controller:
>
> <?php
> class OrderItemsController extends AppController {
>
>         var $name = 'OrderItems';
>         var $uses = array('OrderItem', 'Order');
>         var $helpers = array('Html', 'Form' );
>         var $scaffold;
>
> }
>
> ?>
--~--~---------~--~----~------------~-------~--~----~
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