X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to repair head.tpl? I can't see my webpage anymore (https://forum.x-cart.com/showthread.php?t=7526)

teriwinkle 05-10-2004 11:16 PM

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

teriwinkle 05-10-2004 11:33 PM

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..

sublimebikinis 05-24-2004 07:50 PM

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

:D

groovico 05-25-2004 03:53 AM

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.


All times are GMT -8. The time now is 01:57 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.