AnsweredAssumed Answered

Smarty error in cached tpl files

Question asked by Kevin Kevin on Sep 2, 2014
Latest reply on Oct 27, 2014 by ananth ananth
Im using SugarCRM CE 6.5.16 (Build 1082) and Im having the following problem.
When trying to edit or add an entry in any module, I get a blank page.

Now the PHP-Logs show me the following error: PHP Fatal error:

  Smarty error: [in cache/modules/Contacts/EditView.tpl line 80]: syntax error: unrecognized tag: $fields..name (Smarty_Compiler.class.php, line 434) in /html/feelixCRM-Updated/include/Smarty/Smarty.class.php on line 1095

So the issue is, that some time during the generation of the EditView.tpl the $fields.name variable gets added another dot in between resulting in $fields..name.

I've tried removing the extra dot by search and replace and everything works fine then, but it's not a long term solution since once the cache gets recreated, the issure returns.

Does anyone know where the cached tpl files are created or where I should look to find the source of the problem?

This is really urgent, since this is an issue on a live system.

Thanks

Outcomes