Re: MultiSite Module Support Thread
I have made an attempt to install the MultiSite mod on my site www.frnt.org/zencart - also accessible from www.zencart.frnt.org (as subdomain), template name "custom"
I am running ZC 1.3.7.1 - quite smoothly.
Domain name is www.frnt.org or frnt.org
Created a copy of the zencart dir in 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:
Quote:
// 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:
Quote:
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
Quote:
define('HTTP_SERVER', 'http://frnt.org');
define('HTTPS_SERVER', 'https://frnt.org');
with this
Quote:
define('HTTP_SERVER', 'http://zencart.frnt.org');
define('HTTPS_SERVER', 'https://zencart.frnt.org');
and this for the "sub" store
Quote:
define('HTTP_SERVER', 'http://pracstore.frnt.org');
define('HTTPS_SERVER', 'https://pracstore.frnt.org');
Thanks in advance
Frank
frNt.org
Re: MultiSite Module Support Thread
Frank
you have to make a file called "YOUR_DOMAIN.COM_config.pgp" which goes into includes/config_sites/. Theres an example of what you need to within the installation files in the same folder.
Ken
Re: MultiSite Module Support Thread
Hi Ken,
thanks for your reply (thought nobody would look at this thread any longer ..)
Yes, I have done exactly as per instructions, called the file
www.pracstore.frnt.org_config.php
containing
Quote:
<?php
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "pracstore";
define('SITE_NAME','www.pracstore.frnt.org');
?>
for the "sub-store"
The "main-store" (which also contains the admin) is set up in the same way:
file name: www.zencart.frnt.org_config.php
containing
Quote:
<?php
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "custom";
define('SITE_NAME','www.zencart.frnt.org');
?>
But I am still getting a blank page "The domain frnt.org does not exist"
Both www.zencart.frnt.org and www.pracstore.frnt.org are subdomains to host www.frnt.org
So, I am still banging my head ... :frusty:
May have to start from scratch
Cheers / Frank
Re: MultiSite Module Support Thread
Hey Frank,
What ever domain it says does not exists is the file that you need to create.
if it says frnt.org then create "frnt.org_config.php"
you may also need to create "www.frnt.org_config.php"
Re: MultiSite Module Support Thread
G'day Ken
and thanks for your last advice.
gave it another try last night and worked out that the www's created the grief. So, made another file without the www's (otherwise identical) and BINGO :clap:
Should be live as MultiSite in a few days - time permitting.
Thanks again
Frank
www.frnt.org/zencart
Re: MultiSite Module Support Thread
Hello, I have installed this mod as per the instructions on a clean Zen Cart 1.3.8a instalation. When I browse to my primary domain the page loads, but only the header and the Categories box is displayed. How do I get the rest of my page and the site link sidebox to show?
Re: MultiSite Module Support Thread
Forgive me if this has been asked previously in this thread but at 51 pages, it got a bit much to read every post.
I have set up the multisite module now and as far as the shopping cart session, it works great. My query is is it possible to pass a logged in state to a second domain? If you want to take a look, the domains are www.thediscountdiningshop.co.uk.
These sites are far from finished so please forgive bugs etc.
If you login to any one of the sites (please feel free to sign up with dummy data) and add things to your cart and then navigate to the other site, you will have to login again but your cart comes with you. Is there a way to maintain the logged in state across sites? There are two significant reasons this is needed:
- usability for the customer
- if you add items to your cart on one site, navigate to a second site and then add further items and then navigate back, the first site will still have you logged in but you will need to logout and back in again to see an updated shopping cart.
Obviously this is unacceptable from a user standpoint so I either need to maintain the logged in state and refreshed cart site to site or if this is not possible, force a log out when the user navigates away from the site.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
m4tty
Sorry, both domains didn't display correctly:
http://www.thediscountsofashop.co.uk
http://www.thediscountdiningshop.co.uk
Re: MultiSite Module Support Thread
So, how many domains/stores can one successfully point around with this thing? I've got a half-dozen niche market things that are basically the same group of products (but everyone's special, dontchaknow...).
Gave it a quickie run through in the past coupla hours on a fresh zencart, and I've got one up, but I'm not seeing any of the categories I added - time to start reading through stuff...
Re: MultiSite Module Support Thread
Okay - I got products! Helps to lurn hao two spel. Now if I can figure out how to start pointing the other domains at it...