Patrick Conroy wrote:
Hello All,
I have been running Apache::ASP successfully for a few months on a
Fedora Core 2 server running Apache/2.0.51, mod_perl 1.99 and the
latest Apache::ASP. A couple of days ago I tried setting up
Apache::ASP on my RedHat 9 server. The RH9 box did not have mod_perl,
so I built a new Apache/2.0.52 and mod_perl 1.99 from source and
installed the latest Apache::ASP bundle from CPAN. On the new server
getting "Internal Server Error" in my browser when I try to view asp
pages. In the error_log I see the following message and nothing else:
Can't locate object method "log_error" via package
"Apache::RequestRec" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/ASP.pm
line 1709.
I have verified that the RequestRec package exists, but I don't know
how to resolve this. Any suggestions would be greatly appreciated.
I am not sure what would cause this problem. It seems pretty late
in the Apache::ASP request cycle to be getting this error. Does
it help to add any of these things explicitly to your httpd.conf?
PerlModule Apache
PerlModule Apache2
PerlModule Apache::compat
Try these if Randy's earlier suggestion of Apache::Log does not work.
If Randy's suggestion of "use Apache::Log" does work, or PerlModule Apache::Log
then I wonder what does adding this to your httpd.conf add to your error_log:
<Perl>
print STDERR "$mod_perl::VERSION -- $ENV{MOD_PERL}\n\n";
</Perl>
since Apache::ASP is supposed to load Apache::Log based on these values.
Regards,
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]