smarty error after template change - not seen after browser refresh

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 template change - not seen after browser refresh

Post by stevegos »

Hi

I have seen this a few times now and don't know what causing it.

When modifying a template on the forum module (but have seen this on other modules), the first time you view the public page you get some smarty errors such as:

string(146) "Smarty error: [in module_db_tpl:Forum;index line 19]: syntax error: unrecognized tag: $fms->Lang('forum') (Smarty_Compiler.class.php, line 446)" string(125) "Smarty error: [in module_db_tpl:Forum;index line 19]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(162) "Smarty error: [in module_db_tpl:Forum;index line 31]: syntax error: unrecognized tag: $fms->Lang('topic_last_post_label') (Smarty_Compiler.class.php, line 446)" string(125) "Smarty error: [in module_db_tpl:Forum;index line 31]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

If I hit the fresh button, I never see the error again. Everything works fine.

I've seen a good few others report this issue on the forum, but cannot find a solution.

CMSMS is a slightly older version 1.6.3 (I know it need upgrading the web site is massive and its big job) and the Forum is version 0.9.4 (latest version)

Any ideas?

Steven

PS, although on this occasion it is happening with the forum module, I don't believe it is a forum module error which is why I put it in the product support board


UPDATE: I find that the error only appears the first time the revised template is viewed. View the page on a different PC and its does not appear.

Also modify anything on CMSMS such as a global content block (even a simple change such as adding a fullstop to some text) that appears on the forum page, you also get the error.
Last edited by stevegos on Sun Nov 14, 2010 7:57 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: smarty error after template change - not seen after browser refresh

Post by calguy1000 »

We don't support CMSMS 1.6.3.
Please upgrade your site, then see if the problem persists.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”