You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Tony van der Hoff <li...@vanderhoff.org> on 2007/01/20 16:35:04 UTC

cleanup fails

Embedded Perl version v5.8.8 for Apache/1.3.37 (Unix) mod_perl/1.29 

I'm trying to port a mod_cgi script to mod_perl, fith a fair degree of
success, but one error message is bugging me:

SV = RV(0x80cc51c) at 0x86da9d8
  REFCNT = 1
  FLAGS = (ROK,READONLY)
  RV = 0x86da858
[Sat Jan 20 14:45:14 2007] null:        (in cleanup) [Sat Jan 20 14:45:14
2007] null: dbih_getcom handle Apache::DBI::db=HASH(0x86da858) is not a DBI
handle (has no magic) at
/usr/lib/perl5/site_perl/5.8.8/i386-linux/Apache/Registry.pm line 149.

I don't even understand the error message :(

I have reduced the script down to its bare bones, and it seems to occur when
I create a new CGI::Session, and a DBI connection, and then exit the script.

I note from the archives that a very similar question was asked back in
2001, but it doesn't appear to have been answered:
http://www.gossamer-threads.com/lists/modperl/modperl/39556?search_string=dbih_getcom;#39556

So, does anybody recognise these sypmtoms, or have any recommendations as to
where to look for a fix, please?


-- 
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England