Ben Hopkins wrote: > I'm running through the tutorial, in Basic CRUD. In the url_create > routine, I went to add a book and got this error message: > | > Caught exception in MyApp::Controller::Books->url_create > "DBIx::Class::ResultSet::create(): Can't get last insert id at > /home/ben/apps/MyApp/script/../lib/MyApp/Controller/Books.pm line 92"| > > > > I've got Catallyst version 5.7001. mysql version 4.1.20. > > Any ideas?
Is your 'id' column set to autoincrement? What does 'describe books' in mysql say? JT _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
