Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Smarty error when updating categories.tpl via Dreamweaver/FTP

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-26-2007, 10:02 PM
 
asmusa@pacbell.net asmusa@pacbell.net is offline
 

Newbie
  
Join Date: Jun 2007
Posts: 5
 

Default 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
Reply With Quote
  #2  
Old 07-27-2007, 12:57 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Smarty error when updating categories.tpl via Dreamweaver/FTP

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.
Reply With Quote
  #3  
Old 07-27-2007, 07:44 AM
 
asmusa@pacbell.net asmusa@pacbell.net is offline
 

Newbie
  
Join Date: Jun 2007
Posts: 5
 

Default Re: Smarty error when updating categories.tpl via Dreamweaver/FTP

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:06 AM.

   

 
X-Cart forums © 2001-2020