[rt-users] rt 3.8.8 issue with CSS

Ruslan Zakirov ruz at bestpractical.com
Thu Sep 16 12:26:49 EDT 2010


Hi,

Reasons for that error:
* permissions on files and dirs
* cpan shell you run uses another perl version that may be installed on your
system

14.09.2010 0:42 пользователь "Val Polyakov" <val at polyakov.me> написал:

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 ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100916/5183c1ad/attachment.htm>


More information about the rt-users mailing list