Zen Cart Logo
Forums / General Questions / Setting up a Staging (Test) Store

Setting up a Staging (Test) Store

Locked

Views: 1,467

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 May 2007, 10:18 AM
#1
netsmurf avatar

netsmurf

New Zenner

Join Date:
Jan 2005
Posts:
23
Plugin Contributions:
0

Setting up a Staging (Test) Store

I apologise if this post is in the wrong forum.

I am just having a little trouble setting up a testing store on my website.

My main store is just located in the root folder of my website. I have created a Stage folder and i am trying to setup another store within that folder for testing purposes.

Can someone please tell me what settings in the configure.php files (catalog & admin) need to have the stage folder appended onto them and which settings are just relative to the value of another setting.

Thanks in advance.

10 May 2007, 10:52 AM
#2
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Setting up a Staging (Test) Store

Short answer - it depends...
If your existing store is https://www.myonetruedomain.com, then your addon store would have a store root of https://www.myonetruedomain.com/stage/. Similarly where the existing store has a path of / you would need /stage/ Also be aware that while most configure.php entries require the trailing / to be there, a couple do not.
You would also preferrably need another database for the new store. While you can use databse prefixes to get around this, it can get messy.

The WS_CATALOG entries should be the path to the new store root folder, i.e./stage/, while the FS_CATALOG entries should be the full path to the folder - /var/www/myonetruedomain/public_html/stage/.

The subfolders - includes, images, pub etc can stay as they are.

10 May 2007, 11:09 PM
#3
netsmurf avatar

netsmurf

New Zenner

Join Date:
Jan 2005
Posts:
23
Plugin Contributions:
0

Re: Setting up a Staging (Test) Store

Thanks Chuckl.