On Fri, 07 May 2004 15:04:45 -0700 Stas Bekman <[EMAIL PROTECTED]> wrote:
> 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 Oops! Yep it's definitely my fault. I'll get it fixed in the next day or two. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://frank.wiles.org --------------------------------- -- 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