On Fri, 10 Dec 1999 [EMAIL PROTECTED] wrote:
> Does nay one know how to get round the bug in the above combination. When I
> create a new CGI in any phase other than Response I get a Can't call method
> "register_cleanup" on an undefined value at /usr/lib/perl5/5.00505/CGI.pm
> line 263.
>
> This would appear to be caused by apache->request not returning the request.
from ~/Mail/.sent-mail-sep-1999:
To: Ken Williams <[EMAIL PROTECTED]>
cc: al <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Help! CGI.pm problems with Apache
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 3 Aug 1999, Ken Williams wrote:
> I believe you need to upgrade your mod_perl, this bug has been squashed in
> 1.21.
this is actually not related to that bug. the bug 1.21 fixed what that
registered cleanups were not always called. this bug is triggered by
CGI.pm calling Apache->request before the content response phase. Ali,
give us more details on your module, what phase is it called in? you
should be able to bandaid with this configuration:
PerlPostReadRequestHandler 'sub { Apache->request(shift) }'
-Doug