perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Brooks <>
Subject DBIx::Recordset error message
Date Fri, 12 Dec 2003 14:11:28 GMT
I've been using DBIx::Recordset for a while now, and it's been great. 
However, just the other day I started adding some new functionality to 
my program, and I've started getting this error message:

[Fri Dec 12 09:06:29 2003] [error] [client] Premature end 
of script headers:
[Fri Dec 12 09:06:29 2003] [error] [client] [Fri Dec 12 
09:06:29 2003] Error executing run mode 'add_item': 
DBD::ChurlPg only knows about the pg_type attribute at 
/usr/lib/perl5/site_perl/5.8.0/DBIx/ line 148.

The code in question seems to be the following:

    *set = DBIx::Recordset->Insert({'!DataSource'=> $db,
                                    '!Table' => 'purchase_orders',
                                    '!Serial' => 'order_id',
                                    '!Sequence' => 
                                    'order_date' => $t->strftime(),
                                   }) or die DBIx::Recordset->LastError();

This is just a straightforward ecom type site, and every other part of 
it works just fine. If I comment out this query and put in something 
else, it also fails with a similar error, usually this:

[Fri Dec 12 08:52:46 2003] [error] [client] Premature end 
of script headers:
[Fri Dec 12 08:52:46 2003] [error] [client] [Fri Dec 12 
08:52:46 2003] Error executing run mode 'add_item': Cannot 
specify both sql_type and pg_type at 
/usr/lib/perl5/site_perl/5.8.0/DBIx/ line 148.

Anyone know what's going on?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message