[rt-users] Mason 1.1x ??

Autrijus Tang autrijus at autrijus.org
Fri Aug 23 22:49:58 EDT 2002


On Fri, Aug 23, 2002 at 07:18:46PM -0700, Mark Moorcroft wrote:
> OK, after countless days rebuilding my OSX box I have Perl 5.8, 
> mod_perl, PHP and FastCGI playing together. Reinstalling RT I ran 
> make fixdeps. The fixdeps process seemed to go smoother than I can 
> ever remember. There were a few glitches, but now I find that RT 
> won't even display the login page, apparently because of Mason 1.1x. 
> There is nothing in the README about it from what I can remember, but 
> searching the RT-dev list online it looks like it's a problem. Now 
> since this was simply the default CPAN install running fixdeps I'm 
> not sure how I would have avoided this. Can anyone tell me the best 
> way to "downgrade" Mason?

The 1.1201 (or 1.1202, or 1.13) line of Mason is probably saner than
old versions, so you wouldn't neccessarily want to downgrade.

Please try applying the attached patch, assuming you're using
mason_handler.fcgi.

Thanks,
/Autrijus/

--- mason_handler.fcgi  Fri Aug  9 06:37:18 2002
+++ mason_handler.fcgi.new      Sat Aug 24 10:48:23 2002
@@ -36,6 +36,7 @@
 {
 
     package HTML::Mason::Commands;
+    use vars qw(%session);
 
     use RT::Tickets;
     use RT::Transactions;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020824/49ee4f3c/attachment.sig>


More information about the rt-users mailing list