Re: [rt-users] rt 3.8.8 issue with CSS
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" написал: 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: [r...@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. [r...@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: > > [r...@... RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] rt 3.8.8 issue with CSS
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: [r...@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. [r...@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: > > [r...@curt conf.d]# cat rt3.conf > Alias /ticket "/opt/rt3/share/html" > > PerlRequire /opt/rt3/bin/webmux.pl > > > AllowOverride All > Options ExecCGI FollowSymlinks > RewriteEngine On > RedirectMatch permanent (.*)/$ $1/index.html > AddDefaultCharset UTF-8 > SetHandler perl-script > PerlHandler RT::Mason > > [r...@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: >> >> [r...@curt css]# pwd >> /opt/rt3/share/html/NoAuth/css >> [r...@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 >> [r...@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! >> > RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] rt 3.8.8 issue with CSS
Also, thought it might be a good idea to attach my RT_SiteConfig.pm ... And this: [r...@curt conf.d]# cat rt3.conf Alias /ticket "/opt/rt3/share/html" PerlRequire /opt/rt3/bin/webmux.pl AllowOverride All Options ExecCGI FollowSymlinks RewriteEngine On RedirectMatch permanent (.*)/$ $1/index.html AddDefaultCharset UTF-8 SetHandler perl-script PerlHandler RT::Mason [r...@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: > > [r...@curt css]# pwd > /opt/rt3/share/html/NoAuth/css > [r...@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 > [r...@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! > # Any configuration directives you include here will override # RT's default configuration file, RT_Config.pm # # To include a directive here, just copy the equivalent statement # from RT_Config.pm and change the value. We've included a single # sample value below. # # This file is actually a perl module, so you can include valid # perl code, as well. # # The converse is also true, if this file isn't valid perl, you're # going to run into trouble. To check your SiteConfig file, use # this comamnd: # # perl -c /path/to/your/etc/RT_SiteConfig.pm Set( $rtname, 'myhostname.mydomain.com'); Set( $Organization, 'myhostname.mydomain.com'); Set($MinimumPasswordLength , "5"); Set($Timezone , 'US/Eastern'); #Set(@Plugins, qw( # RT::Authen::ExternalAuth # )); Set($HomepageComponents, [qw( QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards )]); Set( $DatabaseType, 'mysql'); Set( $DatabaseHost, 'localhost'); Set( $DatabaseRTHost , 'localhost'); Set( $DatabaseName , 'rt3'); Set( $DatabasePort , ''); Set( $DatabaseUser , 'myrtuser'); Set( $DatabasePassword , 'myrtpass'); Set($OwnerEmail , 'root'); Set($LoopsToRTOwner , 1); Set($SendmailArguments , "-oi -t -f m...@mydomain.com"); Set($MaxAttachmentSize , 1000); Set($RTAddressRegexp , '^...@myhostname.mydomain.com$'); Set($CorrespondAddress , 'no-re...@myhostname.mydomain.com'); Set($CommentAddress , 'no-re...@myhostname.mydomain.com'); Set($UseFriendlyFromLine , 1); Set($FriendlyFromLineFormat , "\"%s\" <%s>"); Set($UseFriendlyToLine , 1); Set($FriendlyToLineFormat , "\"%s Ticket #%s\":;"); Set($NotifyActor , 0); Set($RecordOutgoingEmail , 1); Set($WebPath , "/ticket"); Set($WebPort , 80); Set($WebBaseURL , "http://curt";); Set($WebURL , $WebBaseURL . $WebPath . "/"); Set($WebImagesURL , $WebURL . "/NoAuth/images"); Set($MessageBoxWidth , 72); Set($MessageBoxWrap, "HARD"); Set($MaxInlineBody, 13456); Set($DefaultSummaryRows, 10); Set($OldestTransactionsFirst, '1'); Set($DateDayBeforeMonth , 0); Set($AmbiguousDayInPast , 1); #require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm"; #Set($Autocreate, {Privileged => 1}); #Set(@Plugins,(qw(Extension::QuickDelete RT::FM))); 1; RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] rt 3.8.8 issue with CSS
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: [r...@curt css]# pwd /opt/rt3/share/html/NoAuth/css [r...@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 [r...@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!