Re: [CDBI] Can't insert a null record?

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On Wed, 1969-12-31 at 23:59 +0000, Eduardo Grosclaude wrote:
> Error executing run mode 'dic': Can't insert new Ctl::Dictado:
> DBD::SQLite::db prepare_cached failed: near ")": syntax error(1) at
> dbdimp.c line 269 [for Statement "INSERT INTO dictado ()
> VALUES ()
> "] at /usr/lib/perl5/site_perl/5.8.6/Ima/DBI.pm line 381.
>  at /var/www/html/linux/admin/admin.pl line 256
>  at /usr/lib/perl5/site_perl/5.8.6/CGI/Application.pm line 160
>     CGI::Application::run('Admin=HASH(0x9650de8)') called
> at /var/www/html/linux/admin/admin.pl line 517

I don't use SQLite or Class::DBI 3.0.14, but that error looks like it
doesn't know what your columns are.  Check how you defined the columns
and make sure it knows its primary key.

- Perrin
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.