After a loooooong break from all things DBIC, I'm now looking to get back into 
it but have come up against some strange problems.

While running as a web application, I get the following error even though I 
made the db rw

DBIx::Class::Schema::populate(): DBI Exception: DBD::SQLite::st execute failed: 
unable to open database file(1) at dbdimp.c line 402 [for Statement "INSERT 
INTO user_profiles (address_line_1, address_line_2, address_number, 
company_name, email, first_name_contact, phone, postcode, surname_contact, 
town) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"]

What I find strange also, is the order of the fields in the error message. They 
don;t match the order of the schema declaration nor the order in DBIC's populate

Everything works ok with MySQL in a web app and non web app for SQLite.

Any pointers would be great. DBIC version 0.08007

CIA

-Ants

       
---------------------------------
 For ideas on reducing your carbon footprint visit Yahoo! For Good this month.
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to