I don't know if there is a downside (perhaps I can't use status?), 
but when I commented out the 'Apache::Status->menu_item( ...' 
section, it seemed to work ok.

Tim


>On Tue, 15 May 2001, James Croft wrote:
>
>>
>>  Hi,
>>
>>  I've just joined the list looking for an answer to this. A couple of
>>  others have posted the same problem but I couldn't find any answers.
>>
>>  I'm running RH6.2 with standard Apache, perl and mod_perl rpms. I'm
>>  hitting a brick wall if I include a 'PerlModule Apache::DBI' line in
>>  httpd.conf - Apache starts up but shuts down immediately. I created a test
>>  script that just use's the module and I get the following error
>>
>>  Can't locate object method "module" via package "Apache" at
>>  /usr/lib/perl5/site_perl/5.005/Apache/DBI.pm line 202. BEGIN
>>  failed--compilation aborted at ./test.pl line 4.
>>
>>  Which must be what's frying httpd.
>>
>>  Does anyone know what's going on? Any help or suggestions appreciated.
>
>Have you tried:
>http://perl.apache.org/guide/troubleshooting.html#Can_t_locate_object_method_get_
>or
>PREREQUISITES
>        Note that this module needs mod_perl-1.08 or higher,
>        apache_1.3.0 or higher and that mod_perl needs to be
>        configured with the appropriate call-back hooks:
>
>          PERL_CHILD_INIT=1 PERL_STACKED_HANDLERS=1.
>
>
>
>
>_____________________________________________________________________
>Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
>http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
>mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
>http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to