Zen Cart Logo
Forums / Basic Configuration / Creating a Testing site from the Production site

Creating a Testing site from the Production site

Views: 1,236

Results 1 to 6 of 6
23 Apr 2014, 6:09 PM
#1
juggernautsei avatar

juggernautsei

New Zenner

Join Date:
Apr 2014
Location:
Virginia
Posts:
15
Plugin Contributions:
0

Creating a Testing site from the Production site

I am trying to copy the production site from /mysite to /mysite/testing to create a testing site to work in.

I have copied the site files to the testing folder. I copied the database and renamed it.
I edited the /mysite/testing/includes/configure.php file.
I edited the /mysite/testing/admin/includes/configuration.php file.

When make changes to the layout it only effects the production site.
What configuration file am I missing?

23 Apr 2014, 7:53 PM
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: Creating a Testing site from the Production site

Sounds like you didn't edit the database info in the config files to point to the copied database.

23 Apr 2014, 9:39 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Creating a Testing site from the Production site

juggernautsei:

I am trying to copy the production site from /mysite to /mysite/testing to create a testing site to work in.

I have copied the site files to the testing folder. I copied the database and renamed it.
I edited the /mysite/testing/includes/configure.php file.
I edited the /mysite/testing/admin/includes/configuration.php file.

When make changes to the layout it only effects the production site.
What configuration file am I missing?

badarac:

Sounds like you didn't edit the database info in the config files to point to the copied database.

In particular in the admin directory.

24 Apr 2014, 6:19 PM
#4
juggernautsei avatar

juggernautsei

New Zenner

Join Date:
Apr 2014
Location:
Virginia
Posts:
15
Plugin Contributions:
0

Re: Creating a Testing site from the Production site

I specifically said:

 "I edited the /mysite/testing/admin/includes/configuration.php"

I changed the database information in all of the configuration files that I could find.

Could you be specific and tell me which other configuration files that I need to change other than the ones that I listed Please.

24 Apr 2014, 6:32 PM
#5
juggernautsei avatar

juggernautsei

New Zenner

Join Date:
Apr 2014
Location:
Virginia
Posts:
15
Plugin Contributions:
0

Re: Creating a Testing site from the Production site

I went back and checked my work and I had not changed the admin configuration file like I thought. I had changed everything but the database pointer. It is separated now.

Thanks and my apologies.

24 Apr 2014, 8:09 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Creating a Testing site from the Production site

juggernautsei:

I went back and checked my work and I had not changed the admin configuration file like I thought. I had changed everything but the database pointer. It is separated now.

Thanks and my apologies.

No problem, glad you checked again. It was the configure.php file in your admin/includes folder though instead of configuration.php, correct?

Happens a lot to miss something. Glad it's fixed now, though.