Maybe you can try a simple test case whose only purpose is to save something in the item table (separate this test function from the "finish" function.). When you get that to work, it would be easier to debug within the "finish" function.
Also, try looking into HABTM and other built-in cake features that might simplify the code. =) On Dec 8, 8:39 pm, ridwan arifandi <[EMAIL PROTECTED]> wrote: > thanks for your reply.. > > i tried it too, and it cannot work, > > i used debug($data_item) in temporary_items_controller.php and debug > ($data) in model.php, it wasn't empty ( has value ) > > i dont know, only ITEM model but others can work rightly > > thanks a lot > > On Dec 8, 6:00 pm, Milmar <[EMAIL PROTECTED]> wrote: > > > Try to log what $data_item contains and check if the structure being > > passed to the model is correct. > > > Then you can try > > $this->Item->Create($data_item); and; > > $this->Item->Save($data_item); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---