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

Did a very dumb thing to auth.tpl - Help!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-21-2005, 11:01 AM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default Did a very dumb thing to auth.tpl - Help!

I'm almost embarassed to say this but I did a very dumb thing to the auth.tpl template. I wiped out most of the file and saved it. I didn't realize that the admin login uses the same code as the customer login and now I have no way of logging into to undo my stupidity and restore the auth.tpl.

Here is what it looks like when I go to my admin page:
http://66.39.157.180/temp/no_login.jpg

As you can see, there are no fields for login.

If anyone knows of a way I can login or edit my auth.tpl without logging in I would greatly appreciate it.
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote
  #2  
Old 02-21-2005, 11:05 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

Via FTP, re-upload the original from your x-cart installation package.
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 02-21-2005, 11:08 AM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default

Ok, but where is the auth.tpl in the original files? There is no templates directory in the original files.
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote
  #4  
Old 02-21-2005, 11:12 AM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default

Ok, I am even more of a dumb***. I found it in the /x-cart/skin1_original/ directory. I'm all set now hooter. Thanks for the tip.
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote
  #5  
Old 02-21-2005, 11:20 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

Glad you got it sorted out.
__________________
Blog for X-Cart | Ebay Auction Manager
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 07:44 PM.

   

 
X-Cart forums © 2001-2020