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

Can't view edited templates

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-26-2004, 10:20 AM
 
albertr albertr is offline
 

Member
  
Join Date: Aug 2003
Posts: 11
 

Default Can't view edited templates

My x-cart is running great after moving it to the remote server, DBs run fine and checkout is operating without a hitch.

I'm having trouble with the store not showing the edited templates that I've modified. I have modified the new.tpl and it's not displaying. When I hit save file, it tells me that it saved successfully. When I go to preview, it's showing the old one and the site is still showing the old one, even after a reload. When I click 'edit templates' again, the 'news.tpl' is showing me the update code but the site and the preview are still showing the old 'news.tpl' Am I missing something?

Thanks
albert
Reply With Quote
  #2  
Old 01-26-2004, 12:48 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

try hitting refesh on your browser (F5)
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 01-26-2004, 02:11 PM
 
albertr albertr is offline
 

Member
  
Join Date: Aug 2003
Posts: 11
 

Default

Of course I did that with no luck. very strange behavior. Please help, i'm dying over here!!!
Reply With Quote
  #4  
Old 01-26-2004, 04:53 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Try forcing refresh with CTRL+F5 or clearing the templates_c in admin so they can create themselves again.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #5  
Old 01-27-2004, 02:30 PM
 
albertr albertr is offline
 

Member
  
Join Date: Aug 2003
Posts: 11
 

Default

Thanks for trying to help me, but I've tried everything to make those edited templates show, but no go.

X-cart is saving the file modification because I can bring it back up, but when I go to preview it or view it on the site it's still the default template showing. I even reset my browser just to be sure.

Please help, could it be a file permissions issue or a corrupted table somewhere?

Thanks for all your help.

Reply With Quote
  #6  
Old 01-27-2004, 03:23 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Just a guess... Are you modifying templates in the skin1_original directory ?

I know it sounds simple, but it could be that you are modifying templates in the orignal directory and not the one established during install, that by default is /skin1 (not /skin1_original) directory.

It happened to me once.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #7  
Old 01-28-2004, 02:03 PM
 
albertr albertr is offline
 

Member
  
Join Date: Aug 2003
Posts: 11
 

Default

I'm modifying the templates from within the xcart admin. Whichever directory that is.

I can't figure it out. We also can't upload images to the server anymore.

Please help!!! I'm dying over here
Reply With Quote
  #8  
Old 01-28-2004, 02:08 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

There are 2 complete sets of skins -- so each will have an admin folder. I would guess you are in the wrong one as well --- as I did the same thing before
Reply With Quote
  #9  
Old 01-29-2004, 08:19 AM
 
albertr albertr is offline
 

Member
  
Join Date: Aug 2003
Posts: 11
 

Default

I know that I'm in the correct folder because I can download the files via ftp and look at them.

For example: I'm modifying the news.tpl file. I've made and saved my changes and checked it via ftp.

My working directory is /xcart/skin1 not /xcart/skin1_original because the corresponding file in skin1_original has not be modified.

What could I be doing incorrect? Any suggestions. I've also reinstalled x-cart twice with no luck.

Could it be an issue during setup because I set the xcart directory field to a "/", just a slash, no /xcart, could that be the issue?
Reply With Quote
  #10  
Old 01-29-2004, 08:27 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

Ok then, first thing I would do to troubleshoot is narrow down the problem, can anyone else see your changes that has never viewed your site before? If not, then its a real problem and not a caching problem.

I just try to sort out the easy solutions first before digging into code Although it sounds like this isn't a caching problem, I have had stranger things happen
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 04:16 AM.

   

 
X-Cart forums © 2001-2020