[rt-users] rt 3.8.8 issue with CSS

Val Polyakov val at polyakov.me
Mon Sep 13 16:42:22 EDT 2010


another update:

when I go to http://myServer/ticket/NoAuth/css/index.html this is what I get:

Error during compilation of /opt/rt3/share/html/NoAuth/css/dhandler: Can't
locate CSS/Squish.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib
/opt/rt3/bin/../lib /opt/rt3/lib
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /opt/rt3/share/html/NoAuth/css/dhandler line 67. Stack:
[/opt/rt3/share/html/NoAuth/css/dhandler:67] [CSS/Squish.pm:67]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:445]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:773]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:256]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:212]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/../lib/RT/Interface/Web/Request.pm:68]
[/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:275]
[/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:353]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:868]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:822]
[/opt/rt3/bin/webmux.pl:78] [CSS/Squish.pm:67] BEGIN failed--compilation
aborted at /opt/rt3/share/html/NoAuth/css/dhandler line 67. Stack:
[/opt/rt3/share/html/NoAuth/css/dhandler:67]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:445]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:773]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:256]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:212]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/../lib/RT/Interface/Web/Request.pm:68]
[/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:275]
[/usr/lib/perl5/site_perl/5.8.8/Class/Container.pm:353]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:868]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:822]
[/opt/rt3/bin/webmux.pl:78] [/opt/rt3/share/html/NoAuth/css/dhandler:67]

however:

[root at curt ~]# perl -MCPAN -e 'install CSS::Squish'
CPAN: Storable loaded ok
Going to read /home/vpolya/.cpan/Metadata
  Database was generated on Mon, 13 Sep 2010 11:30:52 GMT
CSS::Squish is up to date.
[root at curt ~]#


this is probably the source of my CSS issue..   why cant it find it, while
CPAN claims its installed? :/


> Also, thought it might be a good idea to attach my RT_SiteConfig.pm ...
>
> And this:
>
> [root at curt conf.d]# cat rt3.conf
> Alias /ticket "/opt/rt3/share/html"
>
> PerlRequire /opt/rt3/bin/webmux.pl
>
> <Directory "/opt/rt3/share/html">
>   AllowOverride All
>   Options ExecCGI FollowSymlinks
>   RewriteEngine On
>   RedirectMatch permanent (.*)/$ $1/index.html
>   AddDefaultCharset UTF-8
>   SetHandler perl-script
>   PerlHandler RT::Mason
> </Directory>
> [root at curt conf.d]#
>
> Any help is highly appreciated, this is sort of urgent :/
>
>> Hello,
>>
>> I have a fresh install of rt-3.8.8 on RHEL5
>>
>> when I go to http://serverIP/ticket   ("/ticket" is aliased in apache
>> configs to /opt/rt3/share/html, which is where the RT is installed) I
>> get
>> the login screen, but alasa, with no CSS. so it looks ugly..
>>
>> I don't see any errors at all in apache's access_log and error_log (no
>> 404s or anything)
>>
>> I see that I do, indeed, have CSS:
>>
>> [root at curt css]# pwd
>> /opt/rt3/share/html/NoAuth/css
>> [root at curt css]# ls -l
>> total 28
>> drwxr-xr-x 2 root bin 4096 Sep  7 12:34 3.4-compat
>> drwxr-xr-x 2 root bin 4096 Sep  7 12:34 3.5-default
>> -rw-r--r-- 1 root bin 2390 Sep  7 12:34 autohandler
>> drwxr-xr-x 2 root bin 4096 Sep  7 12:34 base
>> -rw-r--r-- 1 root bin 2649 Sep  7 12:34 dhandler
>> -rw-r--r-- 1 root bin 3043 Sep  7 12:34 print.css
>> drwxr-xr-x 3 root bin 4096 Sep  7 12:34 web2
>> [root at curt css]#
>>
>> nothing's weird about the install, SELinux is disabled, etc..
>>
>>
>> any ideas?
>>
>>
>> RT Training in Washington DC, USA on Oct 25 & 26 2010
>> Last one this year -- Learn how to get the most out of RT!
>>
>





More information about the rt-users mailing list