Please try once again by calling *$this->User->create()* before setting id
2008/12/17 gearvOsh <[email protected]> > > Tried it again that way and heres the error: > > Warning (512): SQL Error: 1062: Duplicate entry '' for key 2 [CORE\cake > \libs\model\datasources\dbo_source.php, line 521] > Query: INSERT INTO `users` (`status`) VALUES ('inactive') > > It keeps inserting, even if I set the id. > > > -- Amit http://amitrb.wordpress.com/ http://coppermine-gallery.net/ http://cheesecake-photoblog.org/ http://www.sanisoft.com/blog/author/amitbadkas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
