Forums / General Questions / duplicating a site locally for testing

duplicating a site locally for testing

Locked

Views: 978

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
19 Jul 2007, 8:24 PM
#1
tone_alone avatar

tone_alone

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

duplicating a site locally for testing

Hi All,

I've installed MAMP & Zen-Cart on my home computer.

Everything seems to work.

Is it possible to download a site created with Zen Cart locally to use for testing?

-thanks
anthony

19 Jul 2007, 8:58 PM
#2
tone_alone avatar

tone_alone

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: duplicating a site locally for testing

answering my own question:

can I follow the instructions posted by humbll in a previous thread?

  1. Do a Zencart fresh install on the new domain
  2. Copy old store to new domain, overwriting all files except the 2 configure.php files in /includes and /admin/includes
  3. Overwrite the new database with the backup copy I made from the old store.
  4. Modify .htaccess file in the root with a redirect like so:

tone-alone:

Hi All,

I've installed MAMP & Zen-Cart on my home computer.

Everything seems to work.

Is it possible to download a site created with Zen Cart locally to use for testing?

-thanks
anthony

19 Jul 2007, 9:27 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: duplicating a site locally for testing

Forget step 4. That's just so that search engines can follow along when your move a live store - not relevant to your case.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

19 Jul 2007, 9:50 PM
#4
tone_alone avatar

tone_alone

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: duplicating a site locally for testing

kuroi:

Forget step 4. That's just so that search engines can follow along when your move a live store - not relevant to your case.

Thanks for the reply!

19 Jul 2007, 10:31 PM
#5
tone_alone avatar

tone_alone

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: duplicating a site locally for testing

Can I backup the sql database from the Zen Cart Admin area?

Is this necessary if I'm only working on the design of the template?

19 Jul 2007, 10:36 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: duplicating a site locally for testing

If you have the backup mysql plugin mod installed and working in both your environments. It doesn't work in all environments.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Jul 2007, 12:57 AM
#7
blind1 avatar

blind1

Zen Follower

Join Date:
Dec 2006
Location:
Victoria, Australia
Posts:
351
Plugin Contributions:
0

Re: duplicating a site locally for testing

kuroi:

If you have the backup mysql plugin mod installed and working in both your environments. It doesn't work in all environments.
Kuroi in the download section is says the following:
Backup your MySQL database from within Zen Cart....fast and easy.

NOTE: uses exec() function calls to run mysqldump and mysql binaries. Sometimes exec() is restricted from use in shared-hosting environments. Also, doesn't work in safe mode or on servers where the mysqldump or mysql binaries have restricted access.

Question: If the website is a dedicated IP does this overide a shared-hosting environment?

'E-Start your web store' book - I Got it and now ..... I GET IT !....Well alot more of it anyway (-:

20 Jul 2007, 8:21 AM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: duplicating a site locally for testing

I don't claim any particular expertise in this area, but my expectation would be that having a dedicated IP address, e.g. for SSL, would not have any impact on whether a host has restricted use of exec().

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Jul 2007, 7:35 PM
#9
blind1 avatar

blind1

Zen Follower

Join Date:
Dec 2006
Location:
Victoria, Australia
Posts:
351
Plugin Contributions:
0

Re: duplicating a site locally for testing

Ok Thanks:smile:

'E-Start your web store' book - I Got it and now ..... I GET IT !....Well alot more of it anyway (-: