
wmorgenstern at coopoptical
Jun 23, 2004, 8:45 AM
Post #3 of 8
(714 views)
Permalink
|
I tried that. When I am displaying the image directly (putting in the image URL in the browser bar), it get this error: System error error: Error during compilation of /opt/rt3/share/html/NoAuth/coop.gif: Unrecognized character \x12 at /opt/rt3/share/html/NoAuth/coop.gif line 30. Stack: [/opt/rt3/share/html/NoAuth/coop.gif:30] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:534] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:311] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166] [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265] [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:207] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:127] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:76] [/opt/rt3/bin/mason_handler.fcgi:55] context: ... 26: Àp ©ÀWìBG€p»ª ©P Ô‘ 27: а CÀBXµQP+`€´‹QR xˆo@ }€ˆnû©5ùø Dk@ |@½Dÿð?@pùt @¸á‹ ²§±B ,…qU4]P'“[.!¿pQIp3¿?àh@ ~p»-«{A C`ýö@ÜkÓ;¨¹yk0wÐ ~à Hà –Çcb ¼w@ ª+„ÆûA`pp`uÐWf ×ÅDP t j0 28: ¦© vp™ÒFŽcàÂ0, h—OŠ0¨îqF§A$^`ÂD€ÀlPóKh[@¹½|` $† TP‡0n`G° V¼Âץ訹tb`Àt@ Ì74&m s0D@2,]àd€RÜ7¿Ô’M\×b fpdà‡[ÿ0ÈNZbÀ 29: :*¢±•UW°ÈBÐÈ 30: <? @ÌÐ²Ü góÇÕR+]`cg^¬qå ùÀ«C°e0AvRÉc€nð ]ÕaÀ¬AS Å`f`AÀË16cb@dBPa°‡¶È…JËçqÇ{ŠÜ·‡P'Y\¢ˆÙU^° ÆÀ£[;/Ã,Î]ðÍfJdÃlp˜–ñ3±ÍŠÜU–5ê ÷ôÐS Ð$@аðÐý$À?`0ÐÔQ¢^°Ð ý(p+À^0¾ÔôT†–Èubω"Ã\ƒÑ‹ôÒ0ÿ]Ée Fàe¬‚. Óƒ¡#›ì ›â Á‹”ŃJÝPÀP@àÔ pP° ð pd½ðM píÔàÕ\ÝÕM½M+„F+w‘ÍSVc5Ti }ì`1ØJd4X7@$P-+@!àÐtMÖdm¢m ]Ú¦ Ú §MÖ 31: 0Ö¦«Û 32: P×l+Ø71X ÈApÈ÷ã t \F[.YR0Ù°ðpPÛ WÛ Ú½Ú°ÿÝݪ Ú ÝÝÝÝrM ý*>q¼X@MÔìÂ®Ó @"iÝ©ÝÚMÞ`ýÝâ- 33: @0Út-àoÝÛ `ÖtýÖ®½Ú à ðÕåÝ-:€9ÑÓ0€*@*€Ý[.MÚÚÚÚà @â "àÙ0Ö ð àá € 0L®E)Ð 34: #àÙÎßu}åampÖÀÚdýðÖ^žÝŽÚ¨MâÜ71ØV£2~N}Öj=ÚÚü½bMÖ€4@NîÙ#€)ÀÿèK EŽ€p»”^é0RIð û)ÐéR>0ê5PåN®’5Ðé5`åsá Àá¾ã`к=:@ðå³ÞáeÍçÀ³½á@× Î¥ž5€ 4Á|Ð }°;0í{Ð še»€€éû¤à%È4îÈ„ ñu xíœé·«é˜îí·;ê£~»#E5°4^æ ã§}Õ°9ÀÒ4!!ðÜÚü pÝ3¾ã#À"pxžžêªžò—µp h‚&ˆè {€ vp –` )Ltœ+w òkŒîåÿÎdoÐmËËÅj€h°n tL P µ @ 9ôt` éNíåþò¦’îÌ{»5î¨nþÚn@Þhàé`"p zPòx03Ð öîî#¥ ... code stack: /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:317 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166 /usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265 /usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:207 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:127 /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:76 /opt/rt3/bin/mason_handler.fcgi:55 raw error Error during compilation of /opt/rt3/share/html/NoAuth/coop.gif: Unrecognized character \x12 at /opt/rt3/share/html/NoAuth/coop.gif line 30. Stack: [/opt/rt3/share/html/NoAuth/coop.gif:30] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:534] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:311] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166] [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265] [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:207] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:127] [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:76] [/opt/rt3/bin/mason_handler.fcgi:55] Trace begun at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm line 580 HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0xa54f4d0)', '/opt/rt3/share/html/NoAuth/coop.gif', 'Error during compilation of :^JUnrecognized character \x12 at /opt/rt3/share/html/NoAuth/coop.gif line 30.^J^JStack:^J [/opt/rt3/share/html/NoAuth/coop.gif:30]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:534]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:311]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166]^J [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265]^J [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:207]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:127]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:76]^J [/opt/rt3/bin/mason_handler.fcgi:55]^J^J^JStack:^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:311]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166]^J [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265]^J [/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:207]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:127]^J [/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm:76]^J [/opt/rt3/bin/mason_handler.fcgi:55]^J') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm line 317 HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0xa54f4d0)', '/NoAuth/coop.gif') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 198 eval {...} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 186 HTML::Mason::Request::_initialize('HTML::Mason::Request::CGI=HASH(0xaa287c0)') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 166 HTML::Mason::Request::new('HTML::Mason::Request::CGI', 'error_mode', 'output', 'error_format', 'html', 'autoflush', 1, 'cgi_request', 'HTML::Mason::FakeApache=HASH(0xaa308f0)', 'out_method', 'CODE(0xa8ff6f4)', 'interp', 'HTML::Mason::Interp=HASH(0xa54f4d0)', 'comp', '/NoAuth/coop.gif', 'args', 'ARRAY(0xaa42c94)', 'container', 'HASH(0xa9b37c8)') called at /usr/lib/perl5/site_perl/5.8.3/Class/Container.pm line 265 Class::Container::call_method('HTML::Mason::Interp=HASH(0xa54f4d0)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0xa54f4d0)', 'comp', '/NoAuth/coop.gif', 'args', 'ARRAY(0xaa42c94)', 'container', 'HASH(0xa9b37c8)') called at /usr/lib/perl5/site_perl/5.8.3/Class/Container.pm line 343 Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0xa54f4d0)', 'comp', '/NoAuth/coop.gif', 'args', 'ARRAY(0xaa42c94)', 'container', 'HASH(0xa9b37c8)') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm line 213 HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0xa54f4d0)', 'comp', '/NoAuth/coop.gif', 'args', 'ARRAY(0xaa42c94)') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm line 207 HTML::Mason::Interp::exec(undef, undef) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 127 eval {...} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 127 HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0xa548974)', 'HASH(0xaa3fc34)') called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 76 HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0xa548974)', 'CGI::Fast=HASH(0xa64d8c0)') called at /opt/rt3/bin/mason_handler.fcgi line 55 eval {...} at /opt/rt3/bin/mason_handler.fcgi line 55 -----Original Message----- From: Jeff_Leach [at] Progressive [mailto:Jeff_Leach [at] Progressive] Sent: Wednesday, June 23, 2004 11:26 AM To: wmorgenstern [at] coopoptical Cc: rt-users [at] lists Subject: Re: [rt-users] Change Logo Try to find a graphic that displays properly, and copy the variable attributes and display that image. If it works move your image to the directory where the working graphic is stored. I ended up getting it to work with the following code located in /rt/local/html/Elements/Header, and placing the graphic in /rt/share/html/NoAuth/pgr.gif <td colspan=2><a href="http://xl2ddocs"><img src="<%$RT::WebPath%>/NoAuth/pgr.gif" width="154" height="30"></a></td> Hopefully that helps. Jeff "Werner Morgenstern" <wmorgenstern [at] coopoptical To: <rt-users [at] lists> > cc: Sent by: Subject: [rt-users] Change Logo rt-users-bounces [at] lists actical.com 06/23/2004 10:57 AM Please respond to wmorgenstern Hi, I want to change the default logo in RT (3.0.11) I already did the following: Copy the RT file share/html/Elements/Header into local/html/Elements/Header Edit that new file changing <%$RT::WebImagesURL%>/bplogo.gif" alt="" width="230" height="50"> to your logo. However, the logo does not display. It just does the normal placeholder, when the image can't be found. When I view the source, it is correct (the file is where it should, and the attributes are the same as bplogo.gif We use RT 3.0.11 with fastcgi, and Apache 2.0.48, on Fedora Core 2, and Perl 5.8.0 And when I look at the logs, it picks up the file where it should. What could be the problem? Thanks Werner Morgenstern _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer. http://bestpractical.com/services/training.html Sign up early, as class space is limited. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer. http://bestpractical.com/services/training.html Sign up early, as class space is limited.
|