Didn't quite solve it. Here is what I get on the error log [Fri Jun 27 03:52:48 2008] [error] [client 10.8.8.123] Can't locate object method "new" via package "Apache2::Request" at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 928.\n
I downloaded and installed the libapreq2 package after seeing this, but that didn't help.. ------------------------------ Apu Islam ( E Pluribus Unum) ----- Original Message ---- From: Vegard Vesterheim <[EMAIL PROTECTED]> To: Apu islam <[EMAIL PROTECTED]> Cc: Mason-Users <mason-users@lists.sourceforge.net> Sent: Friday, June 27, 2008 2:02:33 AM Subject: Re: [Mason] MasonX::Request::WithApacheSession problem On Thu, 26 Jun 2008 15:53:02 -0700 (PDT) Apu islam <[EMAIL PROTECTED]> wrote: > I am trying to run this with Apache2/Modperl2 environment. The following > gets logged onto the apache debug log. > > [Thu Jun 26 18:20:56 2008] [error] [client 10.8.8.123] The 'param_object' > parame > ter ("Apache2::RequestRec=SCALAR(0x9c95a20)") to > Apache::Session::Wrapper->new() > does not have the method: 'param'\n\nStack:\n > [/usr/lib/perl5/site_perl/5.8.5/ > HTML/Mason/ApacheHandler.pm:882]\n > [/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/A > pacheHandler.pm:822]\n [(eval 28):8]\n [-e:0]\n > > > And I have the following on my startup.pl > > use ModPerl::Util (); #for CORE::GLOBAL::exit > > use Apache2::RequestRec (); > use Apache2::RequestIO (); > use Apache2::RequestUtil (); > use Apache2::ServerRec (); > use Apache2::ServerUtil (); > use Apache2::Connection (); > use Apache2::Log (); > use APR::Table (); > use ModPerl::Registry (); > use Apache2::Const -compile => ':common'; > use APR::Const -compile => ':common'; > > > Is this module safe to use with Apache2/mod_perl2 environment? Thanks. > Add the following to your configuration: PerlSetVar MasonArgsMethod mod_perl - Vegard V - ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users