Joel Gwynn wrote:
> While looking through my server logs for the reason behind sporadic
> failures of my script, I found this line:
>
> Issuing rollback() for database handle being DESTROY'd without explicit
> disconnect()
>
> In my 'teardown' method, I'm disconnecting like so:
>
> sub teardown {
> my $self = shift;
> $self->param('dbh')->disconnect();
> }
>
> So I'm not sure why I'm getting that error message. The message occurs
> even the script works properly.
>
> BTW, the other error, which seems to occur once in 20 times is:
>
> Premature end of script headers:
>
> Any ideas why this is happening? Any ideas how I can get more
> information about this?
i had similar problems with my app a couple of months ago. though i did
make a log of the fix in my changelog, i didn't note what the fix was
(DOH!). however, i do recall that it had something to do with
AutoCommit. 'hope that gives you some place to start.
cheers,
twkonefal
--
"The world is run by idiots because they're more efficient than hamsters."
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]