Subject: | Apache::RequestRec missing use statement |
I am using Solaris 2.9 with Apache version 2.0.52 and perl 5.6.1. When I tried to test an ASP page, I got the following message:
Can't locate object method "log_error" via package "Apache::RequestRec" (perhaps you forgot to load "Apache::RequestRec"?) at /opt/perl/lib/site_perl/5.6.1/sun4-solaris/Apache/ASP.pm line 1708.
I had to modified the Apache::RequestRec module and add the following
use Apache::compat
Also I noticed the following:
Apache::ASP installs its files in /opt/perl/lib/site_perl/5.6.1/Apache and mod_perl installs its files in /opt/perl/lib/site_perl/5.6.1/sun4-solaris/Apache. These two directories need to be consolidated.