On Fri, Apr 01, 2005 at 04:01:23PM +0200, Christoph Martin wrote:
> Package: libmasonx-request-withapachesession-perl
> Version: 0.30-1
> Severity: normal
> 
> 
> The recent upgrade introduced a dependency on libapache-session-wrapper-perl.
> After I upgraded my application (netdisco) using MasonX crashed with the 
> following error:
> 
> [Fri Apr  1 15:54:03 2005] [error] The 'param_object' parameter 
> ("Apache=SCALAR(0x82ffec8)") to Apache::Session::Wrapper->new() does not have 
> the method: 'param'\n\nStack:\n  
> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:881]\n  
> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:790]\n  
> [/usr/local/netdisco/netdisco_apache.conf:53]\n  [/dev/null:0]\n

I recently had the same thing, but with Apache2, so I was getting a complaint 
about Apache::RequestRec not having the requisite method.

[ this doesn't apply to you, but it's worth adding into the bug info, I think...

My solution (although it may be much too late for you ... ) was to install 
libapache2-request-perl, and make sure the associated Apache module was loaded 
into Apache2: symlink /etc/apache2/mods-available/apreq.load to 
/etc/apache2/mods-enabled

With this done, it should automagically wrap Apache::RequestRec in an 
Apache2::Request which will support the parameter decoding method.

]

The same sort of thing goes for Apache1: "Apache" is the "raw" mod_perl object, 
it should get wrapped in "Apache::Request". *Having said that* since the 
configuration is specifying "args_method => 'CGI'", it shouldn't be necessary, 
but.... this stuff is all pretty janky. libapache-request-perl, I just noticed, 
is one of your installed dependencies... hmmm... one possibility is adding 
"PerlModule Apache::Request" in your Apache configuration before loading 
HTML::Mason.

HTH

SRH
-- 
Steve Haslam, Perl Developer <[EMAIL PROTECTED]>
"Our Great War is a spiritual war-- our Great Depression is our lives"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to