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

How to repair head.tpl? I can't see my webpage anymore

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-10-2004, 11:16 PM
 
teriwinkle teriwinkle is offline
 

Advanced Member
  
Join Date: Aug 2003
Location: Los Angeles
Posts: 63
 

Default How to repair head.tpl? I can't see my webpage anymore

I was trying to edit my head.tpl, and when I saved it to see what would happen, everything went blank. I need to remove the line I added, but I cannot access it anymore. I tried to change it using ftp, but it says I do not have permission to change the file. Does anyone know how to edit the tpl files outside in ftp? Or how I can turn on the permissions to edit the template files? I am completely stuck here. I do have a backup of the head.tpl file, but I do not have permissions to edit the file.


When I go to the customers page this is the message I get:


Quote:
Fatal error: Smarty error: [in head.tpl line 42]: [plugin] unknown tag - 'customer' (Smarty.class.php, line 2543) in /home/rox/roxjewelry-www/Smarty-2.5.0/Smarty.class.php on line 2652

Please help if you can!
Thanks!

p.s. I am using 3.5.1 version
__________________
Red Hat Linux/Apache
Reply With Quote
  #2  
Old 05-10-2004, 11:33 PM
 
teriwinkle teriwinkle is offline
 

Advanced Member
  
Join Date: Aug 2003
Location: Los Angeles
Posts: 63
 

Default Nevermind Found the way to fix it...

O.K. I went back and found the head.tpl file in my file manager and made the change. It's fine now. :P Whew..
__________________
Red Hat Linux/Apache
Reply With Quote
  #3  
Old 05-24-2004, 07:50 PM
 
sublimebikinis sublimebikinis is offline
 

Advanced Member
  
Join Date: May 2004
Location: New Zealand
Posts: 33
 

Default Woohoo!

I just did exactly the same thing, so thanks for the tip teriwinkle!

Reply With Quote
  #4  
Old 05-25-2004, 03:53 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Dont' forget x-cart has a repair template feature where it copies the original x-cart templates from skin1_original to skin1. Useful if you've completely lost the display due to modifications.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
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 02:02 PM.

   

 
X-Cart forums © 2001-2020