You may also be interested in checking out the RaiseError attribute of any 
DBI handle...

$dsn = 'DBI:mysql:dbname';      # not sure what this looks like for InterBase
$dbh = DBI->connect( $dsn, 'username', 'password' );
$dbh->{RaiseError} = 1;

Jason

If memory serves me right, on Wednesday 30 January 2002 14:10, Jonathan E. 
Paton wrote:
> > Does anyone know how I can trap this error?  It's in my
> > "/var/log/httpd/error_log" file once in a while.
> >
> > DBD::InterBase::st execute failed: Overflow occurred
> > during data type
> > conversion.
> > -conversion error from string ""
> > DBD::InterBase::st fetchrow failed: Unknown cursor
> > -Dynamic SQL Error
> > -SQL error code = -504
> > -Cursor unknown
>
> surely you have the script name and timestamp next to that?
>  If not, upgrade your httpd to something this side of 1900.
>  ;)
>
> > I'm not too sure which script it comes from, it doesn't
> > say, but I think it is from a CGI get form when a user
> > doesn't enter a required field.
> >
> > Any idea what I should be looking for?
>
> Poorly written code.  Grep for "DBD::InterBase::st" in your
> script dirs.
>
> Jonathan Paton
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to