[CDBI] prepare_cached error?

Matt S Trout dbix-class at trout.me.uk
Tue May 16 23:09:51 BST 2006

Eduardo Grosclaude wrote:
> Please, can somebody point me to the cause for this error? The code, 
> database, locations, etc., do work in another, only more up to date 
> installation. Sqlite3 command line interface finds no problem with the DB.
> What should I upgrade?
> Error executing run mode 'lst': DBD::SQLite::db prepare_cached failed: no such table: contactos(1) at dbdimp.c line 269 [for Statement "SELECT cid
> FROM   contactos
> WHERE  cid LIKE ? ORDER BY apellido
> "] at /usr/lib/perl5/site_perl/5.8.6/Ima/DBI.pm line 381.
>  at /usr/lib/perl5/site_perl/5.8.6/CGI/Application.pm line 160
> 	CGI::Application::run('Admin=HASH(0x839ade8)') called at /var/www/html/linux/admin/admin.pl line 530

Fire up the SQLite3 command-line client and send us the result of 
".schema" - without seeing your database structure this is impossible to 
debug (apart from to guess "you screwed up somewhere", which isn't 
particularly useful :)

More information about the ClassDBI mailing list