Forums / General Questions / duplicate zencart site

duplicate zencart site

Views: 1,368

Results 1 to 20 of 21
10 May 2011, 8:11 PM
#1
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

duplicate zencart site

Hello Ajah ? :-) or anybody ..

as you know we have efpsupply.com, I would like to make a duplicate copy of the site so I can modify it into a new site
and thought it would be simplest to make a duplicate and then just change the content and graphics as there is so much
done to the site I really do not want to have to start again and try to get it to the same setup.

Is it possable to duplicate the IDR and have it all run, or what Might the steps be, as a DIR copy does not seem to do
it, nore with the mysql folder for the DB and just rename the links from the old domain name and update with the new,

Any advice would be appriciated.

Thx,
Erick

10 May 2011, 8:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

You need to create a NEW database for this copy of the shop
Edit the 2 configure.php files to reflect this new database and the different path to the files

Zen-Venom Get Bitten

10 May 2011, 8:25 PM
#3
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

have done that, yes but then do I copy over the table info into the new dir ?

10 May 2011, 8:30 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

Make a proper copy of the original site database with phpmyadmin
https://www.zen-cart.com/tutorials/index.php?article=103

Use phpmyadmin to import that backup into the NEW database

Zen-Venom Get Bitten

10 May 2011, 8:35 PM
#5
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

ok, will try, thx

any way to get all the admin setting moved over as well ? seems it did not copy over in the DIR copy or the MySQL DIR copy.

10 May 2011, 8:42 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

any way to get all the admin setting moved over as well
Those are not in files - - they are in the database

Zen-Venom Get Bitten

10 May 2011, 8:47 PM
#7
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

ok, did the export to a zip, then import to the new DB name "Import has been successfully finished, 394 queries executed."

now the site is comming up with Sorry!
There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

Did I miss a step ?

10 May 2011, 8:49 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

Did I miss a step ?
What DB is in the configure.php files?

Zen-Venom Get Bitten

10 May 2011, 8:50 PM
#9
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

well hot dog, got it ..

just had to go back to the sql admin and give me permission to the db again.

All LOOKS ok so far, links seem to be calling the new domain :-)

will keep moving around and see :-)

Thx For the help.

seems just a DIR copy won't do it huh, has to be done in phpmyadmin ?

10 May 2011, 8:53 PM
#10
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

simple way to clear the existing customers and orders that came with the copy ?

good sign they are there though :-) because the were NOT when I was trying on my own to do the copy..

10 May 2011, 8:57 PM
#11
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

use PHPmyadmin find the customers and order tables and check each and delete in the table of each ?

10 May 2011, 9:53 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

DO NOT drop the tables

How many do you have?
If not too many might be easier to delete them from the admin
There are several tables that contain customer and customer info

Zen-Venom Get Bitten

10 May 2011, 10:15 PM
#13
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

Got it, not the table but IN the table, selected all the users and orders to remove them..

also do you know of a referance for creating a template ? I just want the blue we have now to orange, same functions and all just orange :-)

10 May 2011, 10:22 PM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

also do you know of a referance for creating a template ? I just want the blue we have now to orange, same functions and all just orange :-)
Depends upon if it is an image or a stylesheet setting

Need to see your original site - post a link like this

zen-cart dot com

Zen-Venom Get Bitten

10 May 2011, 10:26 PM
#15
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

new site is thriveqfoods.com

does it show ok for you ? slow ? as this is the copy running you helped me do.

10 May 2011, 10:43 PM
#16
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

sorry thriveqfoods dot com :-)

10 May 2011, 10:45 PM
#17
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: duplicate zencart site

Those all appear to be images so you will have to create them in orange

one is located at
/includes/templates/theme226/images/top_talling2.gif

Zen-Venom Get Bitten

10 May 2011, 10:46 PM
#18
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

is the site showing ok for you, seems broken up here now on some machines and fine on others, odd..

10 May 2011, 11:21 PM
#20
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: duplicate zencart site

what to fix ?