Forums / Templates, Stylesheets, Page Layout / changed servers and I am really stuck!

changed servers and I am really stuck!

Locked

Views: 586

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Aug 2009, 9:01 AM
#1
1kell avatar

1kell

Zen Follower

Join Date:
Jul 2008
Posts:
151
Plugin Contributions:
0

changed servers and I am really stuck!

Have just changed to a new host. I transferred everything and it looked good in the admin area. Now since I changed the DNS to the new host also, the shopping cart has dropped off and I can't figure out how to fix it, yet it was going fine when I tested it in the admin area first.

The zencart admin area is working - I can type in the address and get to the admin side, but the shopping cart public part says system setup required...

All I have tried to do is edite the paths in the includes/configure.php file. But, its not changing anything. I am really stuck. I have asked the host for a bit of help but they are slow to respond so thought I might try my luck here...

This is the script from the includes/config file: (spacing in domain name deliberate in this post.)

"define('HTTP_SERVER', 'http://miraclebaby . co . nz');
define('HTTPS_SERVER', 'https://miraclebaby . co . nz');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/estore/');
define('DIR_WS_HTTPS_CATALOG', '/estore/');

.......(cut for space here)....

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/var/www/html/estore/');"

I am totally confused - I changed it back to what it was when the host set it up:

"define('HTTP_SERVER', 'http://oscar.hosts.net');
define('HTTPS_SERVER', 'https://oscar.hosts.net');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/~admin134/estore/');
define('DIR_WS_HTTPS_CATALOG', '/~admin134/estore/');

...(and so on)...

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/var/www/html/estore/');"

And it still doesn't work. The problem seems to be since the DNS was changed.

However, the links for the admin area are the same and it is working...

admin/includes reads:

"define('HTTP_SERVER', 'http://oscar.hosts.net');
define('HTTPS_SERVER', 'https://oscar.hosts.net');
define('HTTP_CATALOG_SERVER', 'http://oscar.hosts.net');
define('HTTPS_CATALOG_SERVER', 'https://oscar.hosts.net');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/~admin134/estore/admin/');
define('DIR_WS_CATALOG', '/~admin134/estore/');
define('DIR_WS_HTTPS_ADMIN', '/~admin134/estore/admin/');
define('DIR_WS_HTTPS_CATALOG', '/~admin134/estore/');"

9 Aug 2009, 9:31 AM
#2
kuroi avatar

kuroi

Totally Zenned

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

Re: changed servers and I am really stuck!

Looks to me like there are some problems with your configure files.

There shouldn't be a quotation mark at the beginning of > "define('HTTP_SERVER', 'http://miraclebaby . co . nz');

and also from a visit to your site, I'd say that the the initial "<" is missing from your opening "<?php" tag invalidating the whole config file.

Kuroi Web Design and Development | Twitter

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