Forums / All Other Contributions/Addons / MultiSite Module Support Thread

MultiSite Module Support Thread

Started by gerome on 23 Apr 2007, 10:24 AM · Views: 581,870

Results 1,821 to 1,840 of 2,247
21 Aug 2013, 1:27 AM
#1821
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

MultiSite Module Support Thread

Some advice please...

My business is a balloon shop. Although we do a number of different things, in starting off online I decided to focus on gift delivery which means I currently have zencart setup so that the shopping cart is limited to one item only so that I know a courier is always capable of delivery.

In expanding to delivery of "décor" items I am looking at using this mod and ideally want -

  • Sharing the customer database
  • A different shopping cart for décor vs gift delivery
  • Gift delivery limited to one item only, décor more or less as much as you like
  • Same payment options
  • Different delivery pricing in décor vs gift delivery (currently using zipship module)
  • Décor items NOT available to gift delivery shopping cart, however gift delivery items would be desirable to sell on décor but not essential.
  • Ideally don't want a different domain/sub domain for the 2 shops - it is the same business and I'd like my front page to simply have "décor" and "gift delivery" as two links that get you going in the right direction.

I guess my question is will this mod assist me in this or is this a bit outside its scope?

23 Aug 2013, 3:27 AM
#1822
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have a fresh install functioning on one domain, and I want to set up another site on a second domain. I've gone through the procedure, created and installed a second template, created the config files for each domain, but I cannot get past the 'domain does not exist' error, which shows for the primary domain. I know this is to do with htaccess, but I cannot find any instructions or directions on setting up a htaccess for two domains. Can someone point me to this?

24 Aug 2013, 1:10 AM
#1823
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: MultiSite Module Support Thread

This is too messy for me. Having two domains - which I cannot see anyone to have dealt with successfully - and Ceon SEO stuff in htaccess, I've abandoned ship. I've carefully gone through removing the files and replacing with the originals, and run the uninstall.sql. Now I can on longer control template selection: whichever template I select, I get template default, which suggests that something is blocking template selection. Any ideas on what this might be, or why?

26 Aug 2013, 8:01 PM
#1824
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

I will add it to the next release (somewhere in September)

Thank you

26 Aug 2013, 8:09 PM
#1825
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I want to some something similar to this in my Admin<Customers page to display the "State, City, And Country" next to the "Company Name" for every customer.

Can you guide me thru this? I tried to find similar codes in the "admin/customer.php" page but don't know how to implement this. Any help is greatly appreciated.

26 Aug 2013, 8:10 PM
#1826
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

I will add it to the next release (somewhere in September)

I want to do something similar to this in my Admin<Customers page to display the "State, City, And Country" next to the "Company Name" for every customer. I know this should be similar to display which site an order is coming from, but can't make it out from heads to toe.

Can you guide me thru this? I tried to find similar codes in the "admin/customer.php" page but don't know how to implement this. Any help is greatly appreciated

12 Sep 2013, 5:43 AM
#1827
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Hi All

I am in the process of setting up this mod and have encountered a little issue.

I made a copy of my live site on my PC and using WAMP installed the mod, got it working, then loaded the files live.

However to cut a long story short I am now unable to login unless Admin -> Sessions -> Recreate Session is set to FALSE.

Previously I did have this setting as TRUE, and when I roll back the files to my pre-multisite version it still works.

Strangely enough it works set to TRUE on WAMP but not on my hosting server?

Any ideas where to look to fix this - I'm stumped.

19 Sep 2013, 6:47 PM
#1828
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: MultiSite Module Support Thread

has anyone encountered the problem of not able to add products to shopping cart in one of the sites in multisite. currently I have 4 urls working and the 5th one is not letting me adding products in the shopping cart. any help is greatly appreciated.

22 Sep 2013, 1:28 AM
#1829
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi All, I installed multisite and got it working with respect to my subdomains now show the proper template and the main site works fine. The issue I have encountered is

When you are on site2 or site3 or site4, the links for the categories or anything for that fact all go back to the main shop. Plus there is nothing listed for the products on subsequent sites for their respective categories, which I have confirmed are set up in the multisite category area of the admin.

Any help is greatly appreciated. :) I have doublechecked the files you need to install (1 new files), the template modifications(merges) (2 required edits), optional files... switch is in place in the config, as well as site links with proper edits.

help is greatly appreciated!

22 Sep 2013, 3:24 PM
#1830
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Good Morning. I went back and compared all the files and all is good there. I have researched in this thread to see what I might have missed. I found a post by @balihr which was very helpful about cpanel set up for multisite.

@balihr I followed your directions to a T with regards to going into cpanel and setting up a subdomain redirect and now my category links and all links on the shop are proper (meaning they include the shop2. prefix to keep them on the shop2 site)

@balihr, would it be ok if I pm you a link to what I am talking about? I would greatly appreciate a second set of eyes. :)

Now my issue is: images are missing and there is no template showing at all.

I am ohhhh sooo close and any help is greatly appreciated. Do you know if there is anything else I can check?

My subdomain entry in cpanel looks like
shop2.mysite.com home/public_html/shop Redirection - not redirected

My shop2.mysite.com_config.php looks like

<?php $template_dir = "site2"; define('SITE_NAME','site2'); define('HTTP_SERVER', 'http://shop2.mysite.com'); define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('STORE_NAME','storename'); //Store Name define('CATEGORIES_ROOT','7'); //root categories is 1 for this site ?>

dennez:

Hi All, I installed multisite and got it working with respect to my subdomains now show the proper template and the main site works fine. The issue I have encountered is

When you are on site2 or site3 or site4, the links for the categories or anything for that fact all go back to the main shop. Plus there is nothing listed for the products on subsequent sites for their respective categories, which I have confirmed are set up in the multisite category area of the admin.

Any help is greatly appreciated. :) I have doublechecked the files you need to install (1 new files), the template modifications(merges) (2 required edits), optional files... switch is in place in the config, as well as site links with proper edits.

help is greatly appreciated!

22 Sep 2013, 4:06 PM
#1831
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Perseverance! :) For any that may have had the same issue as me (missing templates or improper linking)... be sure that you check the following!

My issue was in configuration!
@balihr has a great post on how to set up your cpanel for subdomains (http://www.zen-cart.com/showthread.php?63997-MultiSite-Module-Support-Thread&p=822630#post822630)

Next have a look at your configure file.. make sure you don't have the subdirectory entered in the catalog definition. It should've pointed to just '/' in my case because I am already pointing to the shop directory in the cpanel redirect. You may have to check your own set up, but when I put in shop after using the cpanel to redirect to shop, it wasn't right. :)

If you copy the following, be sure to delete the ">>>>>>>>>>>>>>>>>>>> " I am only using it to show you what to look at.
$template_dir = "site2";
define('SITE_NAME','site2');
define('HTTP_SERVER', 'http://shop2.mysite.com');

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('STORE_NAME','storename'); //Store Name

define('CATEGORIES_ROOT','7'); //root categories is 1 for this site

24 Sep 2013, 1:47 PM
#1832
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Is anyone good with sessions? I have the carts ready to roll, the only issue I have is if the customer clicks on a site link to another of my stores using this set up and they have anything in their cart, it doesn't show in the cart on the next store... but, if you hit refresh, it does show.

I know not many people would try to cross-order between stores, but because the links are there, they might just try and it would be nice if the process was seamless.

Any help would be greatly appreciated. :)

25 Sep 2013, 8:42 PM
#1833
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I am at the end of me ... literally... I would be grateful for any help at this moment :) I am posting this here, because the issue is only an issue when in a subdomain multicart cart.

My issue... Configuration with regards to multisite (because the shop that is the main shop without a subdomain works just fine)************

My Current settings relevant to this conversation:

subdomain.myshop.com is pointed to myshop.com/shop via the cpanel subdomain setting (as well as an A name in my host manager panel)

my configure (subdomain.mysite.com_config.php) for the subdomain shops shows the following:

Config #1
IF I use this ... the template doesn't show up for the nonSSL link, but it does for the SSL link! but it seems to break a session as well...
$template_dir = "site10";
define('SITE_NAME','site10');
define('HTTP_SERVER', 'http://subdomain.mysite.com');
define('HTTPS_SERVER', 'https://subdomain.mysite.com');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

Config #2
IF I use THIS ... the template is there and the NONSSL side works fine, but when you click on anything SSL (checkout) you get sent to the home page of the site (I am talking home home... wordpress)
$template_dir = "site10";
define('SITE_NAME','site10');
define('HTTP_SERVER', 'http://subdomain.mysite.com');
define('HTTPS_SERVER', 'https://subdomain.mysite.com');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

ie... click on this link ... http://subdomain.mysite.com/index.php?main_page=shopping_cart takes me to http://mysite.com/rgstr/

htaccess has some wordpress specific items such as w3cache and page caching etc.
This is the only thing not in wordpress comments:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

MORE examples...................

************** Images in the https:// don't show not on an image handler hover nor in the what's new sidebox*************
IH4 is working properly on the main shop and I get the hover when over the thumb
http://myshop.com/shop/bmz_cache/a/a...ge.150x150.jpg
IH4 does not show the larger image on hover on the subdomain shop
http://subdomain.myshop.com/bmz_cach...ge.150x150.jpg

*****************Links don't work in the https://properly *******************************
This doesn't just happen with images, it happens with links as well.
http://subdomain.mysite.com/index.php?main_page=saveforlater&action=sfl_save_for_later&product_id=157
doesn't save for later it goes to my account
https://subdomain.mysite.com/shop/index.php?main_page=account

SPECIFIC TO THE MULTISITE CONFIGURATION: I followed the directions to subdomain a shop to the /shop/ directory
If I curl in putty the https:// link for the subdomain, I get a 302. So the tech at the webhost said I had to go to manage my account and enter the subdomains as an A name... done.... still the same issue.

*** I posted this in the Image Handler Forum thread thinking it was an IH4 issue.
"This is NOT an IH4 issue.. This is a ZEN CART configuration issue, and you need to start a new thread to discuss this topic.. That said I will say this VERY QUICKLY.. If your store is setup as a sub-domain, your configuration file needs to be configured for a sub-domain. Meaning the URL's in HTTP_SERVER, HTTPS_SERVER and should be the sub-domain URL.. If you are not going to use the sub-domain, then the URLs in your configuration file will be configured as you have them. Now if you have any additional questions, you do need to create a new thread as this is not an IH4 support related issue.. "

LOST and disillusioned....

25 Sep 2013, 8:52 PM
#1834
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I am genuine in my search for help and do realize that you all are probably as busy as I am ... please consider having a look and I would love to send

  • beer, starbucks or my eternal gratitude :) *
29 Sep 2013, 7:34 PM
#1835
dennez avatar

dennez

New Zenner

Join Date:
Sep 2013
Posts:
16
Plugin Contributions:
0

Re: MultiSite Module Support Thread

dennez:

I am genuine in my search for help and do realize that you all are probably as busy as I am ... please consider having a look and I would love to send

  • beer, starbucks or my eternal gratitude :) *

I think I got it. Sorry to have posted too much in the thread, I guess.

17 Oct 2013, 1:47 AM
#1836
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:

  1. create an addon domain
  2. create a config_sites file for both the www and non-www versions
  3. point the domain to my main sites IP address

and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for https://www.xxxx.com the username would be xxxx but for this domain i used something different.

any help before i bang my head again..

17 Oct 2013, 6:55 AM
#1837
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

lidlchris:

just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:

  1. create an addon domain
  2. create a config_sites file for both the www and non-www versions
  3. point the domain to my main sites IP address

and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for www.xxxx.com the username would be xxxx but for this domain i used something different.

any help before i bang my head again..

If the domain is pointed / redirected to the same public_html folder as the the domains it should work.

17 Oct 2013, 8:06 PM
#1838
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

If the domain is pointed / redirected to the same public_html folder as the the domains it should work.

turns out it was the hosting companies fault.. some cpanel entries didn't get cleared when i removed the domain from the server and then created an addon domain.

but now i've got other issues.. very strange ones too.. check out http://www.swordsofhonor.net/ - it's showing the config_sites file as text before it starts to display the site..

18 Oct 2013, 11:52 AM
#1839
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

lidlchris:

turns out it was the hosting companies fault.. some cpanel entries didn't get cleared when i removed the domain from the server and then created an addon domain.

but now i've got other issues.. very strange ones too.. check out http://www.swordsofhonor.net/ - it's showing the config_sites file as text before it starts to display the site..

Good to hear your problem is solved.

I tried the link, and I do not see the text. It does take some seconds to load the page, but after that it shows up just fine.

18 Oct 2013, 6:23 PM
#1840
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

Good to hear your problem is solved.

I tried the link, and I do not see the text. It does take some seconds to load the page, but after that it shows up just fine.

turns out i was missing the final ?> at the end of the config file.. :) strange thing about the slow time though - can't figure that one out.