Zen Cart Logo
Forums / General Questions / Test-store config files

Test-store config files

Views: 551

Results 1 to 2 of 2
20 Oct 2011, 1:24 PM
#1
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Test-store config files

I'm being a good boy and setting up a test version of my store for modifications. I've duplicated (and renamed) the database and done the same for the store directory.

But I'm having trouble staying in my test store -- as I navigate around (and especially trying to get into the admin panel) I keep getting kicked over into the live store.

Clearly I need change some paths in one of more config files -- but which ones?

John

20 Oct 2011, 1:41 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Test-store config files

Both /includes/configure.php and /youradmin/includes/configure.php need to have the folder locations specified (just a few places in each file). HTTP_SERVER will stay the same, but DIR_WS_CATALOG, DIR_WS_HTTPS_CATALOG, and DIR_FS_CATALOG in /includes/ and DIR_WS_ADMIN, DIR_WS_CATALOG, DIR_WS_HTTPS_ADMIN, DIR_WS_HTTPS_CATALOG, DIR_FS_ADMIN and DIR_FS_CATALOG in /youradmin/includes/ need to refer to the moved locations; also the database info needs to reflect the copy db.