| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Smarty error when updating categories.tpl via Dreamweaver/FTP | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Have you got the Dreamweaver Smarty plugin installed?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi Paul - thank you very much for your reply. Yes I have the SmartyDWT version 1.32 installed (Klitsche.de). To make sure I am not adding any new code in an improper place I just tried to change table cellpadding from 0 to 5 which gave me the same error. This is really puzzling. Do you have any suggestions...? Thanks again!
__________________
xcart 4.19 |
|||||||
|
|||
X-Cart forums © 2001-2020
|