Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / overwritten by mistake

overwritten by mistake

Locked

Views: 1,012

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Mar 2009, 8:53 PM
#1
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

overwritten by mistake

Can anyone help? I accidentally over-wrote define_main_page in:

includes,
languages,
english,
html_includes,
classic.

Can anyone just copy this page for me - it will really help me out.

_Thanks{

2 Mar 2009, 9:04 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: overwritten by mistake

Um ... the original version of the file is in the folder "above" the "classic" folder which you mentioned.

Or, you can always get all the original Zen Cart files by following the download link and getting another copy of the distribution zip file ... https://www.zen-cart.com/tutorials/index.php?article=323

2 Mar 2009, 9:12 PM
#3
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: overwritten by mistake

well they were both over written. A copy and paste would be really handy..

2 Mar 2009, 9:33 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: overwritten by mistake

The files in the html_includes folder and subfolders simply contain HTML content, but the files have a .php extension.

So ... if you want to start fresh, just empty them out and start with new HTML. I could tell you to copy and paste a blank space if you like, but some people would find that insulting, so I try not to do that :smile: .

2 Mar 2009, 11:54 PM
#5
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: overwritten by mistake

I just downloaded another zen cart on my server - I can now use it to refer to when needed_ thanks

3 Mar 2009, 3:28 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: overwritten by mistake

Remember it's always wise to have a copy of all the files on your PC. And to regularly make backups (of all your files AND your database) from your server TO your PC (usually via FTP) for safekeeping.

https://www.zen-cart.com/tutorials/index.php?article=103