First guess is that you have a problem with your handler.pl file. Can you get it working with a basic sample file?

I haven't used Mason in years, but that's a good place to start (as your message below points out).

-- Ian


On Fri, 2 Sep 2005, Robin wrote:

Hello,

I am running the base install of OpenBSD 3.7 with the
mod_perl-1.29p0.tgz package as well as
p5-HTML-Mason-1.26.tgz package.

Both packages installed fine (I believe)

However when I go to setup HTML mason, with the
following:
   PerlModule HTML::Mason::ApacheHandler
   <Location />
       SetHandler perl-script
       PerlHandler HTML::Mason::ApacheHandler
   </Location>
I get a 500 Internal Server Error and the following
error in my /var/www/logs/error_log:
[Fri Sep  2 10:38:49 2005] [error] Can't call method
"interp" on an undefined value at
/usr/local/libdata/perl5/site_perl/HTML/Mason/ApacheHandler.pm
line 624.\n
The lines around 624 of ApacheHandler.pm read:
   }    rethrow_exception $@;
   unless (
$self->interp->resolver->can('apache_request_to_comp_path')
)    {        error "The resolver class your Interp
object uses does not implement " .              "the
'apache_request_to_comp_path' method.  This means that
ApacheHandler " .              "cannot resolve
requests.  Are you using a handler.pl file created ".
           "before version 1.10?  Please see the
handler.pl sample " .              "that comes with
the latest version of Mason.";
Has anyone seen this error message before and have any
thoughts as to what or where my "undefined value" is?

Thanks,
Rob



____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

Reply via email to