Are you using CDBI by any change? I used to get this message all the time from a bug in one or two versions of Class::DBI ago. Upgrading Class::DBI to the latest got rid of the message. Or just switch to DBIx::Class.

:

On 7/22/06, Ben Hopkins <[EMAIL PROTECTED]> 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?

_______________________________________________
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/

Reply via email to