I know you probably just cut and paste from the tutorial, but I think if you attached the controller in question if might help someone spot the problem. It could be some small thing in the code someplace.
--john
--john
----- Original Message ----
From: Ben Hopkins <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, July 22, 2006 6:18:27 PM
Subject: [Catalyst] Can't get last insert id
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:
I've got Catallyst version 5.7001. mysql version 4.1.20.
Any ideas?
From: Ben Hopkins <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, July 22, 2006 6:18:27 PM
Subject: [Catalyst] Can't get last insert id
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?
_______________________________________________
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/
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/
_______________________________________________ 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/
