Adolph Torres wrote:
Hello,
First time doing this so please bear with me. I've built a RedHat 9.0/Apache2/ModPerl2/Perl5.8.0/MySQL4/SSL Linux box running almost perfect but with the problem below. And Looking through very many emails written by and to Stas Bekman and others about this it appears to be a problem with the handling of return codes in mod_perl.1.99.09 rev'd late last year. I installed the April version of mod_perl.1.99.09 but I am still having the same problem.

Adolph, thanks for the detailed report. Can you please cut up the script to a minimal size while you can still reproduce the problem with?


[...]
In the httpd error_log is the following:
[Wed Aug 20 14:36:53 2003] [error] [client 127.0.0.1] Argument "" isn't numeric in subroutine entry at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/ModPerl/RegistryCooker.pm line 155.
From RegistryCooker.pm:


my $old_status = $self->{REQ}->status;
my $rc = $self->run;
my $new_status = $self->{REQ}->status($old_status); #-> Line 155
return ($rc == Apache::OK && $old_status != $new_status)
? $new_status
: $rc;
}

unrelated, please try to change line 155 to be:


my $new_status = $self->{REQ}->status($old_status || Apache::OK);

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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



Reply via email to