Mailing List Archive

Changes to html files not appearing
Hello list,
I've made a change to ShowEmailRecord.html. I copied it to
<rt>/local/html/Ticket, modified it, cleared the mason cache, and restarted
both FCGI and Nginx. But I can't see my change on the website. Of course,
this presumes I've correctly followed the chain of includes from the
ShowTransaction template back to this html file. Did I miss a step? I'm on
Debian, so cleared /opt/rt4/var/mason_data/cache/obj/*. Is there a
different cache on Debian, even though I'm now running from source and not
the pre-built packages? Thanks.

--
Alex Hall
Automatic Distributors, IT department
ahall@autodist.com
Re: Changes to html files not appearing [ In reply to ]
Hi Alex,

On Thu, Oct 13, 2016 at 3:43 PM, Alex Hall <ahall@autodist.com> wrote:
> Hello list,
> I've made a change to ShowEmailRecord.html. I copied it to
> <rt>/local/html/Ticket, modified it, cleared the mason cache, and restarted
> both FCGI and Nginx. But I can't see my change on the website. Of course,
> this presumes I've correctly followed the chain of includes from the
> ShowTransaction template back to this html file. Did I miss a step?

Note: I've never used the /local/html Mason override.

From what I understand, I don't think you missed a step.

I'm on
> Debian, so cleared /opt/rt4/var/mason_data/cache/obj/*. Is there a different
> cache on Debian, even though I'm now running from source and not the
> pre-built packages?

Since you installed from source, there isn't a different location.
Only if you were using a packaged version of RT would the path be
dependent on the package.

However, if you cleared the mason cache at that location, then it is
wrong. You want:

sudo find /opt/rt4/var/mason_data/obj -mindepth 1 -delete

-m
---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017