perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Apache::SmallProf
Date Fri, 07 May 2004 22:04:45 GMT
Jens Gassmann wrote:
> Hi,
> 
> i try to profile my mod_perl script. I setup Apache::SmallProf at my 
> apache2 server.
> 
> *add to my httpd.conf:*
> 
> <Perl>
>   use Apache::DB ();
>   Apache::DB->init;
> </Perl>
> 
> <Location />
>     PerlFixupHandler Apache::SmallProf
> </Location>
> 
> *and starts the apache2 -X *
> 
> [notice] Apache::DB initialized in child 25276
> 
> *now i try to open a site, but:*
> 
> [Fri May 07 23:33:10 2004] [error] [client 192.168.1.1] Can't locate 
> object method "server_root_relative" via package "Apache::RequestRec" at 
> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/SmallProf.pm line 
> 25.\n, referer: 
> http://nak2003.local/site/1749638154688210/startseite/aktuelles/news-143.htm 
> 
> 
> Whats wrong? I could not find any additionaly documentation to 
> Apache::DB - maybe someone could help me here,
> 
> Thanks and regards,

It looks like Frank had some modules loaded elsewhere and while porting forgot 
to add the missing modules: Apache::RequestRec, Apache::RequestUtil and a few 
others.

Frank, take a look at:
http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__MethodLookup__to_Discover_Which_mod_perl_2_0_Modules_Need_to_Be_Loaded


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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message