Zen Cart Logo
Forums / General Questions / Creating a Test site that mirrors my live site

Creating a Test site that mirrors my live site

Locked

Views: 4,550

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
2 Feb 2009, 4:22 PM
#1
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Creating a Test site that mirrors my live site

Hi All,

I hope this is possible. i recently created a subdomain of my site for testing purposes. But the problem is, is that this site obviously does not mirror my current site in that it does not have the updated revised templates, and all the other additions i did to my real site.

Is it possible to basically copy all the files from my 'live' site to my test site, and if so how would i do that?

thanks!

2 Feb 2009, 5:09 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Creating a Test site that mirrors my live site

Download, via ftp, test site, upload, via ftp, to main site...
for future reference..would have been simpler to install
WAMP on your home computer and create zencart test site
there...

2 Feb 2009, 5:50 PM
#3
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

mmm....sorry not sure exactly how to do this:

Download, via ftp, test site, upload, via ftp, to main site...

What I understand you are saying is to download (using the ftp cleint) my test sight and upload to my main site (i'm assuming the root directory?)

As of now, in my files I have my main site as well as my test site listed as 2 seperate domains.

When i click on FTP I get the following:

FTP Client
ftp:// x___________________
path x__________________
login x___________________
password x________________
[ ] passive mode ?help connect>>

How do i fill this out...and will uploading my test site interfere with my live site?

Sorry for the confusion, I'm a bit clueless about this... :blush:

thanks

2 Feb 2009, 6:15 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

Hi Michelle...

Take things one step at a time...

It seems you are not familiar with FTP...

What FTP PROGRAM are you using?

2 Feb 2009, 7:18 PM
#5
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

well Ive downloaded Filezilla, although I have not used it yet. My website provider provides me with it's own FTP program...not sure which one it is...when i click on it, it just takes me directly to my File Manager where all my folders/files are located and where I can make my changes directly from copying files to uploads, etc.

thanks

2 Feb 2009, 7:29 PM
#6
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

I've used this link from my Control panel (which is called WebShell4 actually) to make all my changes to my site thus far.

2 Feb 2009, 8:30 PM
#7
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Creating a Test site that mirrors my live site

Get used to using FileZilla, many web based ftp programs only work well for one or two files at a time. Your webhost should be able to help you with the settings.

The suggestion was to:1. Download the entire working site to your home/office computer.
2. Now for your test directory, make a back up copy of your includes/configure.php and your admin/includes/configure.php
3. Upload the copy of your site you downloaded to your computer to the test folder. (except for the config.php files) and overwrite all files.Now you have a full working copy of your site in the test folder. After you make changes to your test site, reverse the process overwriting your live site.

REMEMBER, BACKUP YOUR CONFIG.PHP FILES! They are different, so make sure you keep them both separate.
JOhn ><>

2 Feb 2009, 8:38 PM
#8
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Creating a Test site that mirrors my live site

The other suggestion is to set up a TEST SERVER on your home/office computer so you can make changes and test them, then you only have to upload the changes.

Go to WAMP and install the server on your home or test computer.

I cannot find it right now, but there is a tutorial for setting up Zen Cart on a local WAMP server.

JOhn ><>

2 Feb 2009, 9:04 PM
#9
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

thanks John! i'll give it a shot and let you know how it goes :unsure:

2 Feb 2009, 10:56 PM
#10
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

Hi John,

I follow you up to the part:

** After you make changes to your test site, reverse the process overwriting your live site.
** :dontgetit

Not sure what this means...can you clarify for me?

Thanks!

2 Feb 2009, 11:19 PM
#12
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

one other thing just to clarify...when I download my 'live' site i'm basically making a copy of those files which are then be uploaded (copied) to my test site...am I correct in saying that?

just asking since I've never used this program before...not sure if downloading all my folders/files and uploading them somewhere else some how 'moves' my files and makes my 'live' site no longer accessible. probably a silly question but just want to make sure.

2 Feb 2009, 11:23 PM
#13
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

thanks for the link for the WAMP. I unfortunately don't have a compatible software to open the program...know of any free ones :blush:

2 Feb 2009, 11:25 PM
#14
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Creating a Test site that mirrors my live site

mw4kids:

thanks for the link for the WAMP. I unfortunately don't have a compatible software to open the program...know of any free ones
Try
http://www.7-zip.org/

2 Feb 2009, 11:43 PM
#15
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

thanks misty!

3 Feb 2009, 12:36 AM
#16
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

Can anyone answer my question posted on #10

**Hi John,

I follow you up to the part:

After you make changes to your test site, reverse the process overwriting your live site.

Not sure what this means...can you clarify for me?**

I'm an unclear what 'reversing the process overwriting your live site' means.

thanks!

3 Feb 2009, 1:59 PM
#18
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Creating a Test site that mirrors my live site

thank you!