[rt-users] Logo error even after apache restart & Mason cache cleaned

David ROBERT drobert at generix.fr
Tue Oct 23 04:04:45 EDT 2007


Hello,

I have a problem with logo customization. I followed this instructions (http://wiki.bestpractical.com/view/ChangeLogo) and paid much attention to the latest mails about logos (after each & every changes I use a cleanmason.sh that makes a apache stop / clean cache / apache start)

But when access the login page I get this :

********************************************************************************
error:  Error during compilation of /opt/rt3/local/html/Elements/Logo:
Bareword "RT::LogoLinkURL" not allowed while "strict subs" in use at /opt/rt3/local/html/Elements/Logo line 49.

 
context:  ...   
45:  %# those contributions and any derivatives thereof. 
46:  %#  
47:  %# END BPS TAGGED BLOCK }}} 
48:  <div id="logo"> 
49:  <a href="<%RT::LogoLinkURL%>"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<%loc("Best Practical Solutions, LLC corporate logo")%>" width="177" height="33" /></a> 
50:  % if ($show_name) { 
51:  <div class="rtname"><% loc("RT for [_1]", $RT::rtname) %></div> 
52:  % } 
53:  </div> 
...  
********************************************************************************
The problem seems to be onlyfor RT::variables in the href=
If I put plain text in there, it's ok
If I put any other RT variables (just a copy & paste of the following <%$RT::WebImagesURL%> or any other properly defined and substituted variables for instance) I get an error.
But all other RT variables are properly substituted in the line. I only have a problem with the href.

I tried to google around for "bareword" and "strict subs" but did not grasp where to look for or what would be the effect of remove such a "strict subs" command wherever it may be.

I don't mind coding the URL in plain text in my local Logo file but it would be better if this variable could work properly.

Any idea ?

David


More information about the rt-users mailing list