Re: [CDBI] prepare_cached error?

Matt S Trout <dbix-class-uY5y5/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
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?
> TIA
> 
> 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 :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.