If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Reinstall without losing the data

Reinstall without losing the data

Started by joimbob444 on 5 Apr 2013, 12:48 PM · Views: 962

Results 1 to 2 of 2
5 Apr 2013, 12:48 PM
#1
joimbob444 avatar

joimbob444

New Zenner

Join Date:
Apr 2013
Location:
Birmingham UK
Posts:
2
Plugin Contributions:
0

Post #1 by joimbob444

I have lost some Zen Cart files. Can I :blink: I have entered like products and categories.

5 Apr 2013, 1:39 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #2 by lat9

Which files have you "lost"? If it's not one of the configure.php files and you haven't done any customization yet, you can simply copy the files in the Zen Cart distribution back to your site using your FTP program. Since the configure.php files aren't part of the distribution, they won't overwrite anything with that copy.

Once those files are copied, you'll want to fix-up your admin directory (where YOUR_ADMIN is the name you've selected for your admin directory):

  1. copy the file /YOUR_ADMIN/includes/configure.php to /admin/includes/configure.php
  2. delete the /YOUR_ADMIN directory and all its files
  3. rename the /admin directory to /YOUR_ADMIN
    You'll also need to delete (or rename) the zc_install directory for your store to come back up.