ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
Re: Fedora Core 6, SOAP::Lite and mod_perl -- does this work?
by Geoffrey Young other posts by this author
Dec 6 2006 11:57AM messages near this date
Re: Fedora Core 6, SOAP::Lite and mod_perl -- does this work? | Re: Fedora Core 6, SOAP::Lite and mod_perl -- does this work?
>  I removed the Redhat/Fedora built mod_perl and Apache.  Installed from
>  source for each package with the latest and greatest of both. 
>  
>  Did the "make test" for mod_perl and everything passed.
>  
>  I still get this error:
>  
>  [Wed Dec 06 08:02:35 2006] [notice] Apache/2.2.3 (Unix) mod_perl/2.0.3
>  Perl/v5.8.8 configured -- resuming normal operations
>  [Wed Dec 06 08:02:48 2006] [error] [client 204.107.148.116] Can't locate
>  object method "dir_config" via package "Apache2::RequestRec"
>  at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Transport/HTTP.pm line 653.\n
>  
>  Any ideas?  Is this a bug in mod_perl/Apache?  Am I doing something
>  Stupid?

$r-> dir_config isn't actually defined in Apache2::RequestRec but rather
in Apache2::RequestUtil. and it looks like SOAP::Transport::HTTP doesn't
load Apache2::RequetUtil.

so, add

  require Apache2::RequestUtil;

to the rest of the Apache2::* require statements in that file and you
should be good to go.

if this works, it would probably be nice if you submitted a patch to the
SOAP::Lite folks.

--Geoff
Thread:
Tom Cross
Tom Cross
Geoffrey Young
Tom Cross
Randy Kobes
Philip M. Gollucci
Tom Cross
Philip M. Gollucci

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved