Zen Cart Logo
Forums / General Questions / A twin ZC !!!

A twin ZC !!!

Locked

Views: 960

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Jan 2008, 7:25 AM
#1
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

A twin ZC !!!

OK, while I’m looking in this forum for help, whether I need something to adjust in my ZC or a plug-in to add in, I always hesitate to do that as I have crashed my ZC twice and couldn’t fix it back !! so I decided to create a twin ZC to my original one based on the same SQL, which will work as back up in case if one of them will crash while I’m adjusting or adding new plug-in and accidentally broke down the online store!!! For that I have a couple of questions regarding this matter which are related to each other:

  1. Is possible to have two ZCs installed on the same server using the same DB? Would that be a good solution for me? Or should I split the database but then I’ll need to use the same SQL from the original ZC to upload to the new DB, which I already tried a couple of times and it didn’t work with me!:lamo:
    http://www.arab-broker.com/orientalmeal2/

http://www.arab-broker.com/orientalmeal2/admin

:hug:I hope there will be some one here had that before and succeeded in getting two ZCs working together.

  1. Is there any consideration within the downloaded SQL to be aware of while I’m creating the other ZC by using the same SQL within a different DB?
29 Jan 2008, 2:47 PM
#2
afo avatar

afo

Totally Zenned

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

Re: A twin ZC !!!

If you want to use the second ZC as a test site to install mods and try new things, you should separate the databases. Use phpMyAdmin to backup and restore the information.

Basically, you want to create the test version the same way you would install ZC - create a new database and then install ZC as usual. Once ZC is installed, use phpMyAdmin to upload the backed up data. You can even copy over your template to your test installation, so both stores look the same. I have that setup myself. The test store is always "down for maintenance", so no one will get confused.

There's a very good tutorial about backing up your database.

2 Feb 2008, 5:40 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: A twin ZC !!!

You turned on strict error report.
Go to includes/local and rename or delete configure.php for now.