David W Smith wrote:
[...]
In my apache error log I have warnings containing the string:

Can't locate object method "user" via package "Apache::Connection" at
/usr/local/lib/perl5/site_perl/5.8.3/Apache/AuthenIMAP.pm line 70.\n
[...]
When I run:

perl -MApache2 -MModPerl::MethodLookup -e print_method user

I get:

There is more than one class with method 'user'
try one of:
        use APR::Finfo ();
        use Apache::RequestRec ();
        use APR::URI ();

But this time no matter which of the above 3, or how many, I add to
AuthenIMAP.pm the error message in the Apache error log persists and a
page stating 'Internal Server Error' appears when I try and access
Apache's default web page.

That's because it no longer lives in the connection record: http://perl.apache.org/docs/2.0/user/porting/compat.html#C__connection_E_gt_user_



--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] 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



Reply via email to