Zen Cart Logo
Forums / General Questions / Tranfering one Zen Cart site to another!

Tranfering one Zen Cart site to another!

Locked

Views: 669

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Nov 2010, 12:34 PM
#1
fir_tree_design avatar

fir_tree_design

New Zenner

Join Date:
Dec 2009
Posts:
27
Plugin Contributions:
0

Tranfering one Zen Cart site to another!

I have a LIVE working Zen Cart site which I need to apply an update to, I've set up a testing server so I don't inter fear with the live site but can anyone explain the procedure I need to go through to apply this update?

I'm guessing I need to install a fresh zen cart to the testing server then upload the LIVE backup database to it!

Can anyone direct me to a link or explain how to achieve this!

Regards,
FTD

1 Nov 2010, 12:49 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Tranfering one Zen Cart site to another!

You're right on target.

  1. Create a database for your test environment.
  2. Install Zen Cart in the test environment and run the install.
  3. In your webmaster panel (probably CPanel) use phpMyAdmin to backup your database (export) and restore it to your test environment (import)
  4. You may need to run zc_install again on the test environment to upgrade the database.

I think that's it. I'm about to do something similar and I seem to remember doing it that way before earlier upgrades.

1 Nov 2010, 1:30 PM
#3
fir_tree_design avatar

fir_tree_design

New Zenner

Join Date:
Dec 2009
Posts:
27
Plugin Contributions:
0

Re: Tranfering one Zen Cart site to another!

Hi Mary thanks for your quick response! WOW

Just one question, once I have downloaded my LIVE database whats the best way to upload it to the FRESH INSTALL of the zen cart! Admin?

Thanks
FTD

1 Nov 2010, 4:13 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Tranfering one Zen Cart site to another!

phpMyAdmin using the import option. phpMyAdmin will have to be pointing to the new database when import is selected.

8 Nov 2010, 12:08 PM
#5
frenchy232 avatar

frenchy232

New Zenner

Join Date:
Mar 2010
Posts:
21
Plugin Contributions:
0

Re: Tranfering one Zen Cart site to another!

Hello,

I am creating a test site (1.3.8a) to test the upgrade process to 1.3.9h before I attempt it on the live site.

I have copied all the exisiting files from the live site to a test directory, created a new database, re-run install with the new database details and now have a working test site.

https://www.mightcontainnuts.com/test_site

I have completed an export of the live site database and am now attempting an import to the test database from my phpmyadmin console and am getting the following error;

#1007 - Can't create database 'db346806542'; database exists .

What am I missing or doing wrong, do I need to change something in the SQL export file to get it to work?

8 Nov 2010, 12:22 PM
#6
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Tranfering one Zen Cart site to another!

All it is is the new database needs to be a different name to the old, as the old one still exists, and you will have to edit both configure.php files (admin and catalog) to make sure they look at the new database name. Simple as that.