Deceased
- Join Date:
- Nov 2007
- Location:
- Sunny Coast, Australia
- Posts:
- 3,427
- Plugin Contributions:
- 2
MultiSite Module Support Thread
I have made an attempt to install the MultiSite mod on my site https://www.frnt.org/zencart - also accessible from https://www.zencart.frnt.org (as subdomain), template name "custom"
I am running ZC 1.3.7.1 - quite smoothly.
Domain name is https://www.frnt.org or frnt.org
Created a copy of the zencart dir in https://www.pracstore.frnt.org with template name "pracstore"
Installation went ok until uploading of the modified includes/configure.php file. When trying to access the site I get this error msg:
"The domain frnt.org does not exist"
I know this has been discussed b4 in this forum but I am unable to find a satisfactory answer to this problem.
Here is the top part of my original includes/configure.php file:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://frnt.org');
define('HTTPS_SERVER', 'https://frnt.org');// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');// 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', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
The modified file for the "zencart" shop looks like this:
include_once('includes/config_sites/sites_switch.php');
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://frnt.org');
define('HTTPS_SERVER', 'https://frnt.org');// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');// 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', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
and the corresponding file for "pracstore" is similar
Should I replace
define('HTTP_SERVER', 'http://frnt.org');
define('HTTPS_SERVER', 'https://frnt.org');
with this
define('HTTP_SERVER', 'http://zencart.frnt.org');
define('HTTPS_SERVER', 'https://zencart.frnt.org');
and this for the "sub" store
define('HTTP_SERVER', 'http://pracstore.frnt.org');
define('HTTPS_SERVER', 'https://pracstore.frnt.org');
Thanks in advance
Frank
NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.