Someone reported the following error occuring w/ DBI 1.32 and
DBD::Chart:
> [Tue Dec 3 00:55:57 2002] nul: DBD::Sponge::db do failed: No rows
> attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm line
> 2822.
> [Tue Dec 3 00:55:57 2002] nul: DBD::Sponge::db prepare failed: No
> rows attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm
> line 2824.
>
> The source code lines 2820 .. 2824 are:
> my($dbh) = DBI->connect('dbi:Chart:') || throw Error::Simple('Cannot
> connect to chart');
>
> $dbh -> do('CREATE TABLE bars (mark char(5), count INT)');
>
> my($sth) = $dbh -> prepare('INSERT INTO bars VALUES(?, ?)');
>
> I found the error msg 'No rows...' in Sponge.pm line 52.
>
Since DBD::Chart *never* directly uses DBD::Sponge,
I can't figure how Sponge is showing up in the traceback...
Was something added to DBI that uses Sponge directly ?
BTW: DBD::Chart is pure-perl, if that matters any...
Regards,
Dean Arnold
- Original Message -
From: "Ron Savage" <[EMAIL PROTECTED]>
To: "Perl: Dean Arnold" <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 5:08 PM
Subject: Strange web log errors
Dean
I've just started to see these msgs in my web log:
[Tue Dec 3 00:55:57 2002] nul: DBD::Sponge::db do failed: No rows
attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm line
2822.
[Tue Dec 3 00:55:57 2002] nul: DBD::Sponge::db prepare failed: No
rows attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm
line 2824.
The source code lines 2820 .. 2824 are:
my($dbh) = DBI->connect('dbi:Chart:') || throw Error::Simple('Cannot
connect to chart');
$dbh -> do('CREATE TABLE bars (mark char(5), count INT)');
my($sth) = $dbh -> prepare('INSERT INTO bars VALUES(?, ?)');
I found the error msg 'No rows...' in Sponge.pm line 52.
Versions:
DBD::Chart: 0.80
DBI: 1.32
I'll try rolling DBI back to 1.28.
Any ideas?
--
Ron Savage, [EMAIL PROTECTED] on 03/12/2002
Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia
Phone: +61-3-9251 7441, Fax: +61-3-9251 7604
http://www.deakin.edu.au/~rons