smarty error after each template change - but only once

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
stevegos

smarty error after each template change - but only once

Post by stevegos »

Hi

I am getting what appears to be a smarty error after a template has been updated.

But I only see the error at the top of the outputted public web page when the web page has been viewed for the first time after the change (the entire page is displayed correctly under the error). Click the refresh button and it goes away and is never seen again until another template change. Here's the error:

Warning: filemtime() [function.filemtime]: stat failed for /var/sites/domain.co.uk/public_html/newsite/tmp/templates_c/%%CC^CC8^CC835D28%%tpl_top%3A25.php in /var/sites/m/mvdentalspecialists.co.uk/public_html/newsite/lib/smarty/Smarty.class.php on line 1410

Any ideas?

Thanks in advance.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: smarty error after each template change - but only once

Post by Jos »

I think cache is responsible for getting the error just once after an update.

I encountered a similar problem before and it was due to some javascript that was not encapsulated by {literal} tags.
Locked

Return to “CMSMS Core”