Smarty error when updating categories.tpl via Dreamweaver/FTP
I am updating the categories.tpl file in Dreamweaver (making just a small change like the cellpadding form "0" to "5" (so I don't add any invalid code) and then I overwrite the categories.tpl file on the server via FTP. After that I always get the same error:
---------
Error: Smarty error: [in customer/categories.tpl line 3]: syntax error:
unrecognized tag 'IF' (Smarty_Compiler.class.php, line 580) in
/home/content/a/s/m/asmusa02/html/store/Smarty-2.6.12/Smarty.class.php
on line 1095
Parse error: parse error, unexpected T_ENDIF in
/home/content/a/s/m/asmusa02/html/store/var/templates_c/%%B5^B54^B
543382C%%categories.tpl.php on line 6
----------
I ran cleanup, deleted the tempates_c directory, Chmod to 777 but nothing helps. The error always persists, All I can do is upload a clean version of the categories.tpl and %%B5^B54^B
543382C%%categories.tpl.php which I had saved before making any changes and then all is working again.
Strangely enough I can update the categories.tpl through the ADMIN | Edit Templates section though without incurring any errors.
Any help would be greatly appreciated!
__________________
xcart 4.19
|