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

I screwed up my head.tpl!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-03-2004, 01:59 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default I screwed up my head.tpl!

Can someone help me? I seem to have gotten myself in a bit of a mess. I have gotten too comfortable with my "go back to default" button and now made a slight coding change in the header template and now it won't let me get to the store at all (much less the admin area).

Is there a way to get an original and reload it via FTP? I tried to reload a version I had from a few days ago but all that did was throw another error. Maybe I am not doing it right?

site: www.biz-plates.com/store

TIA for any help
Reply With Quote
  #2  
Old 01-03-2004, 02:17 PM
 
GlennM GlennM is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 198
 

Default

Grab the file from the downloadable x-cart version in your files area, then upload the file to the proper location using FTP.
Reply With Quote
  #3  
Old 01-03-2004, 02:22 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default

I'm sorry, I am not sure what you mean. We had X-cart installed for us so I don't think we have any files? or do we?
Reply With Quote
  #4  
Old 01-03-2004, 02:56 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default

Whew! I got it! Thanks a bunch

Off to see what other damage I can cause now
Reply With Quote
  #5  
Old 01-03-2004, 04:21 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Originally Posted by lyncca
Whew! I got it! Thanks a bunch

Off to see what other damage I can cause now

LOL. You made my night.
Reply With Quote
  #6  
Old 01-04-2004, 06:19 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default

Well, that didnt' take me long did it? Can you believe my first xcart store I had up and redesigned in 2 days without mishap?

I reinstalled all the skin files from the install but now I can't login The passwords are still there, because if I do "send lost password" it does so correctly, but I can not login to the admin or provider area. It just gives me a 404 page. Any ideas with this one?

I swear I will be good and not cause any more problems if I can figure out how to fix this...
Reply With Quote
  #7  
Old 01-04-2004, 06:22 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

This may or may not work, try running cleanup.php

http://www.yoursite.com/xcartdir/cleanup.php

You might also want to double check the permissions of the files you uploaded.
Reply With Quote
  #8  
Old 01-04-2004, 06:28 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default

Neither of those worked.
Reply With Quote
  #9  
Old 01-04-2004, 09:00 AM
  shan's Avatar 
shan shan is offline
 

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

Default

check you dont have any corrupt tables in your database. especially the sessions table. also maybe set sessions to store in database if they are not already. youll find this setting in config.php
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #10  
Old 01-05-2004, 06:40 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

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

Default

I don't think this is the problem, the databases seem to be working fine and I can't access the config file since I can't get into admin and I can't directly browse to that file either.

This either happened when I messed up the skin code or when I replaced all of the template files. Not sure how this could have messed up the login page -- its like it doesn't know what to do once someone logs in.

Any other ideas? I may have to go grovel to x-cart for help....
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 05:35 PM.

   

 
X-Cart forums © 2001-2020