Problems with RT::Mason

I have the following specs:

FreeBSD 8.2-STABLE running in a jailed environment
Server: Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/0.9.8r PHP/5.2.10
mod_perl/2.0.5 Perl/v5.10.1
RT 4.0.2 installed from source

I am getting an internal server error whenever I try and load the RT UI.

[Fri Aug 19 10:35:54 2011] [error] [client 10.0.0.31] failed to resolve
handler `RT::Mason’: Can’t locate RT/Mason.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.10.1/mach
/usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach
/usr/local/lib/perl5/5.10.1 . /www) at (eval 4) line 3.\n

There is indeed no RT::Mason module in there.

I do however have the following:

/usr/local/lib/perl5/site_perl/5.10.1/Apache/Mason.pm
/usr/local/lib/perl5/site_perl/5.10.1/Bundle/HTML/Mason.pm
/usr/local/lib/perl5/site_perl/5.10.1/HTML/Mason.pm
/usr/local/lib/perl5/site_perl/5.10.1/Locale/Maketext/Extract/Plugin/Mason.pm
/usr/local/lib/perl5/site_perl/5.10.1/Mason.pm

Running a ‘make testdeps’ returns the following:

All dependencies have been found.

My apache config looks like this:

<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

I have no statement for webmux.pl as it looks to be deprecated in RT4.

I have changed RT::Mason to HTML::Mason and the error goes away, but the
page is rendered blank without any errors or insight as to what else could
be wrong.

Does anyone have any idea what I might be doing wrong?

Thanks in advance!

Cheers.

<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

I have no statement for [1]webmux.pl as it looks to be deprecated in RT4.

This doesn’t look like the configuration we document in
docs/web_deployment.pod

-kevin

Kevin,

You’re right. It’s not. I foolishly went by the wiki instead, which is
clearly outdated. This appear to be working now. Thank you very much for
your help. :)On Fri, Aug 19, 2011 at 1:25 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Fri, Aug 19, 2011 at 01:14:43PM -0700, Chris Phillips wrote:

<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

I have no statement for [1]webmux.pl as it looks to be deprecated in
RT4.

This doesn’t look like the configuration we document in
docs/web_deployment.pod

-kevin

You’re right. It’s not. I foolishly went by the wiki instead, which is clearly outdated. This
appear to be working now. Thank you very much for your help. :slight_smile:

Which wiki page? I thought we’d marked most of the old and outdated
install guides as such, but we’ve apparently missed some.

-kevin> On Fri, Aug 19, 2011 at 1:25 PM, Kevin Falcone <[1]falcone@bestpractical.com> wrote:

 On Fri, Aug 19, 2011 at 01:14:43PM -0700, Chris Phillips wrote:
 > <Location /rt/>
 > AddDefaultCharset UTF-8
 > SetHandler perl-script
 > PerlHandler RT::Mason
 > </Location>
 >
 > I have no statement for [1][2]webmux.pl as it looks to be deprecated in RT4.

 This doesn't look like the configuration we document in
 docs/web_deployment.pod
 -kevin

Which wiki page? I thought we’d marked most of the old and outdated
install guides as such, but we’ve apparently missed some.

It was marked as outdated. As before, I foolishly followed it. Are there
any plans to update the wikis?

 Which wiki page? I thought we'd marked most of the old and outdated
 install guides as such, but we've apparently missed some.

It was marked as outdated. As before, I foolishly followed it. Are there any plans to update
the wikis?

We spent a lot of effort updating the documentation included with RT
and that is always what we recommend following. If there was
something in the README that prevented you from installing or
upgrading successfully please file a bug with a suggestion.

-kevin

Which wiki page? I thought we’d marked most of the old and outdated
install guides as such, but we’ve apparently missed some.

It was marked as outdated. As before, I foolishly followed it. Are there
any plans to update the wikis?

Wiki installation guides are written by users. Wiki is a community
resource. Update guide you followed with instructions for RT 4.0.x


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Chicago, IL, USA — September 26 & 27, 2011
  • San Francisco, CA, USA — October 18 & 19, 2011
  • Washington DC, USA — October 31 & November 1, 2011
  • Melbourne VIC, Australia — November 28 & 29, 2011
  • Barcelona, Spain — November 28 & 29, 2011

Best regards, Ruslan.