Zen Cart Logo
Forums / Installing on a Windows Server / Moving produstion to localhost

Moving produstion to localhost

Views: 1,628

Results 1 to 3 of 3
14 Sep 2011, 8:42 PM
#1
zkukic avatar

zkukic

New Zenner

Join Date:
Sep 2011
Posts:
2
Plugin Contributions:
0

Moving produstion to localhost

Hello everyone,
I'm trying to move live site to localhost (wonna make test enviroment for future changes). I follow all steps from installing new ZenCart 1.3.9h to localhost (with Wamp 2.1) and from tutorial : https://www.zen-cart.com/tutorials/index.php?article=100 (moving zen cart to another host). New Zen Cart is instaled to VM using Oracle Vm virtualBox.
After importing database from live server to localhost next step should be reset session directory key using tool :
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82
here I get first problem, this dosn't work, when I try to open fix_cache_key.php in browser I recive error "IE cannot display the webpage". I check manualy in database where I confirm that cache directory is same as in configure.php file.
I can open my store from localhost but problem exist when I try to open Admin area where I also recive error "cannot display the webpage".
Can someone help me with this, tnx

14 Sep 2011, 10:10 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,792
Plugin Contributions:
14

Re: Moving produstion to localhost

If you can open the cart and not the admin, then your problem is likely in the YourAdmin/includes/configure.php file.

15 Sep 2011, 4:06 PM
#3
zkukic avatar

zkukic

New Zenner

Join Date:
Sep 2011
Posts:
2
Plugin Contributions:
0

Re: Moving produstion to localhost

I already check it, it look Ok:

define('HTTP_SERVER', 'http://ipaddress');
define('HTTPS_SERVER', 'https://ipaddress');
define('HTTP_CATALOG_SERVER', 'http://ipaddress');
define('HTTPS_CATALOG_SERVER', 'https://ipaddress');

I also try with localhost insted of ipaddress

define('DIR_WS_ADMIN', '/domain/renaimedadmin/');
define('DIR_WS_CATALOG', '/domain/');
define('DIR_WS_HTTPS_ADMIN', '/domain/renaimedadmin/');
define('DIR_WS_HTTPS_CATALOG', '/domain/');

define('DIR_FS_ADMIN', 'C:/wamp/www/domain/renaimedadmin/');
define('DIR_FS_CATALOG', 'C:/wamp/www/domain/');

define('DIR_FS_SQL_CACHE', 'C:/wamp/www/domain/cache');