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,865

Results 2,201 to 2,220 of 2,247
12 May 2022, 10:36 AM
#2201
dbltoe avatar

dbltoe

Totally Zenned

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

MultiSite Module Support Thread

Depending on what your host has provided in your cPanel, you would go to the Domains section and click on Redirects.

You will want to keep this as a 301 and your three domains should be listed in the https?://COLOR=#333333?[/COLOR] dropdown.

You will need to do two redirects. Domain 1 being the host for the sites, you would redirecct 2 to 1 and 3 to 1.

You would probably leave the space marked with / blank.

In the Redirects to enter the URL of your main site. If your site is 100% SSL, be sure to enter the link as https://yoursite.com. No www here ever. ANd, you shouldn't have to worry about where the store is located as the configure.php files will point the browser to the right spot on yoursite.com.

NOTE: I'm not familiar with the mod. If all domains go to the root of Zen Cart, nothing else is needed. IF domain 2 and 3 go to different folders in domain 1, you would need to show that in the Redirects to spot like https://yoursite.com/store2.

The www. redirection: is important in that the result should match your SSL certificate. www is antiquated and not really needed BUT, a lot of certificates still list www on the certificate.

If the redirect does not match the certificate, you can have problems connecting. If your certificate contains www, use the Only direct with www. Otherwise, use the Do Not Redirect www option.

Click on the Wild Card Redirect and then click the add button.

Repeat for the third domain.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

12 May 2022, 6:38 PM
#2202
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: MultiSite Module Support Thread

nicksab:

Hello,

I have installed this plugin andconfigured as per the instructions. However, I have this thread over and over but i still really confuse on how to setup the server with cPanel.

i have 3 domains ( not subdomains) that are hosted on the same server. It is not a dedicated server so I am not sure if i can enable the DNs wildcard.

Here is what I have so far:

domain 1 ( main domain ) inside the public_html folder which contains the zen cart installation.
domain 2 and 3 are empty folders at the same level of public_html.

All 3 domains point to the same IP.

Domain 1 works but domain 2/3 do not. When they are access, nothing is displayed.

I am probably missing some basic steps but i am completely confused about it.

What am I missing? Can someone help me and/or direct me on how to set it up?

Thank you very much

ok, here we go.
I have some pictures to help.

now i have using multi-site off and on for a very long time.

ok. the first step is to sign in your Cpanel

and go to Domain Section
and click on 'add on Domains"

and fill in the info.. see attached,

here is how my shop is. I did not what to put my main store on the root so I created a folder called shop. so for example
my store name is Herasonlinemarket.com/shop.
so I have to point all my add-ons to /public_html/shop

so if your main shop is in a folder you have to point all your domains to that folder.

ok do that will all your domains,

if you need any more help let me know.. I probably had same thing happen to me,
Naomi

My Multi_Site Zen Carts
http://herasonlinemarket.com

13 May 2022, 2:31 AM
#2203
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: MultiSite Module Support Thread

noppie:

ok, here we go.
I have some pictures to help.

now i have using multi-site off and on for a very long time.

ok. the first step is to sign in your Cpanel

and go to Domain Section
and click on 'add on Domains"

and fill in the info.. see attached,

here is how my shop is. I did not what to put my main store on the root so I created a folder called shop. so for example
my store name is Herasonlinemarket.com/shop.
so I have to point all my add-ons to /public_html/shop

so if your main shop is in a folder you have to point all your domains to that folder.

ok do that will all your domains,

if you need any more help let me know.. I probably had same thing happen to me,
Naomi

dbltoe:

Depending on what your host has provided in your cPanel, you would go to the Domains section and click on Redirects.

You will want to keep this as a 301 and your three domains should be listed in the https?://COLOR=#333333?[/COLOR] dropdown.

You will need to do two redirects. Domain 1 being the host for the sites, you would redirecct 2 to 1 and 3 to 1.

You would probably leave the space marked with / blank.

In the Redirects to enter the URL of your main site. If your site is 100% SSL, be sure to enter the link as https://yoursite.com. No www here ever. ANd, you shouldn't have to worry about where the store is located as the configure.php files will point the browser to the right spot on yoursite.com.

NOTE: I'm not familiar with the mod. If all domains go to the root of Zen Cart, nothing else is needed. IF domain 2 and 3 go to different folders in domain 1, you would need to show that in the Redirects to spot like https://yoursite.com/store2.

The www. redirection: is important in that the result should match your SSL certificate. www is antiquated and not really needed BUT, a lot of certificates still list www on the certificate.

If the redirect does not match the certificate, you can have problems connecting. If your certificate contains www, use the Only direct with www. Otherwise, use the Do Not Redirect www option.

Click on the Wild Card Redirect and then click the add button.

Repeat for the third domain.

Thank you very much to both , noppie and dbltoe.

I could not have asked for a better explanation.

This is obviously a retrofit application. The main domain has been running for awhile now and i am adding the 2 other domains.

The main domain is using Ceon URI mapping mod and Multisite seems to be using cPanel redirect.

Is there any known issues between Ceon URI and Multisite?

Thank you again for all your help

13 May 2022, 2:34 AM
#2204
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: MultiSite Module Support Thread

i use Ceon URI mapping mod with this with no uses

My Multi_Site Zen Carts
http://herasonlinemarket.com

13 May 2022, 5:06 AM
#2205
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: MultiSite Module Support Thread

noppie:

i use Ceon URI mapping mod with this with no uses

Thank you

16 May 2022, 6:10 AM
#2206
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Z.C 1.5.6 c

site: https://www.kentfield-florist.com

I installed the mod on my site but i am facing a few issues.

I am getting an error 500 when accessing the site but no logs generated.

If I remove include_once('includes/config_sites/sites_switch.php') from includes/configure.php, the site comes back but it is displaying the wrong template.

It shows ZC classic templates instead of my modified version of ZC responsive template.

On the admin side, on categorie/sitepart of the multisite add-on, after inserting the site and clicking "add to all", it is getting populated in a strange manner ( seescreenshot)

Attachment 19989

Thank you for your help.

17 May 2022, 6:02 AM
#2207
royaldave avatar

royaldave

Zen Follower

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

Re: MultiSite Module Support Thread

nicksab:

Z.C 1.5.6 c

site: https://www.kentfield-florist.com

I installed the mod on my site but i am facing a few issues.

I am getting an error 500 when accessing the site but no logs generated.

If I remove include_once('includes/config_sites/sites_switch.php') from includes/configure.php, the site comes back but it is displaying the wrong template.

It shows ZC classic templates instead of my modified version of ZC responsive template.

This is perfectly normal - the siteswitch line is what activates multisite - so without it your site is running without the modifications.

You will obviously need to reinstate this line to get multisite running once you work out the problem.

nicksab:

Z.C 1.5.6 c

On the admin side, on categorie/sitepart of the multisite add-on, after inserting the site and clicking "add to all", it is getting populated in a strange manner ( seescreenshot)

Attachment 19989

Thank you for your help.

Your image is not hi-res enough for me to read - however this will NOT be the cause of the issues - you have a file missing or coding error somewhere.

18 May 2022, 2:50 AM
#2208
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: MultiSite Module Support Thread

royaldave:

This is perfectly normal - the siteswitch line is what activates multisite - so without it your site is running without the modifications.

You will obviously need to reinstate this line to get multisite running once you work out the problem.

Your image is not hi-res enough for me to read - however this will NOT be the cause of the issues - you have a file missing or coding error somewhere.

Sorry about the picture. screenshots did not quite work obviously.

Here is another closer look:
Attachment 19997
Attachment 19996

Since i am not getting error logs, the other issue is a lot harder to pinpoint.

18 May 2022, 3:59 AM
#2209
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: MultiSite Module Support Thread

nicksab:

Sorry about the picture. screenshots did not quite work obviously.

Here is another closer look:
Attachment 19997
Attachment 19996

Since i am not getting error logs, the other issue is a lot harder to pinpoint.

I think the picture you uploaded was where you show the categories to store.

i uploaded a picture to show you what needs to be done to show your different stores

I also uploaded another picture to show where you get the template name. each store your want created needs its own template.

I hope I understood what you were asking
naomi

My Multi_Site Zen Carts
http://herasonlinemarket.com

18 May 2022, 4:08 AM
#2210
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Here's the picture to show you how to add the store (template name) to the categories in multi-site.

naomi

My Multi_Site Zen Carts
http://herasonlinemarket.com

28 May 2022, 2:18 AM
#2211
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: MultiSite Module Support Thread

noppie:

Here's the picture to show you how to add the store (template name) to the categories in multi-site.

naomi

Hello Naomi and thankyou for the reply.

Sorry about the delay to get back to you. I had to put the Multisite on hold as I have not yet fix the first part of my issue ( the error 500 )

Regarding the picture, you are correct. It is the categorie page of Multisite.

My problem is the template being displayed in each categorie is being populated in a strange form.

My template name is kentfield_florist .When it is added to all categories and after page reload, the name being display is florist_kentfield somehow.

I will give it another try on fresh install of ZC and go from there as some other plugin could be interfering.

Thank you for your assistance.

10 Jul 2022, 4:33 PM
#2212
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: MultiSite Module Support Thread

Has anyone tried setting this up in a MAMP/XAMP environment where you don't have the cPanel Domains redirect capability?
(Failing that, does cPanel just create a .htaccess file? Or is it more complicated?)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

11 Jul 2022, 5:55 AM
#2213
dbltoe avatar

dbltoe

Totally Zenned

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

Re: MultiSite Module Support Thread

Been busy with USPS but, I think cPanel only writes to .htaccess for PHP version.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

13 Jul 2022, 12:37 AM
#2214
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: MultiSite Module Support Thread

@noppie I see what you're doing but when do it, not only does the URL get changed but it doesn't even get changed properly; the final / is missing so the script is concatenated on to the subdomain.

https://site2com/ should go to https://site1.com/subfolder/ but when I try to run a script without even using the multisite code, the redirection fails:

https://site2.com/testsite.php

goes to

https://site1.com/subfoldertestsite.php

(which obviously doesn't work because the subdomain doesn't have a trailing slash.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

13 Jul 2022, 11:44 AM
#2215
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: MultiSite Module Support Thread

I think the issue I was having was because of URL rewriting on the target site. I disabled rewrites for the multisite domain and now redirection looks good.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Sep 2022, 4:43 AM
#2216
royaldave avatar

royaldave

Zen Follower

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

Re: MultiSite Module Support Thread

The issue I am having is that if I link a product from one category to another, the products won't show up unless you are in the master category.

Funnily enough, if there is only one item in the category (and it is linked in) it will show, but add another linked product in and they both disappear.

Assuming this is an issue with cat_filter, but I can't work it out - or is this a known limitation of this plugin which I wasn't aware of before?

I'm guessing cat_filter is looking at the description of the master category and as it doesn't match it's not displaying the product.

12 Jan 2024, 7:27 PM
#2217
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: MultiSite Module Support Thread

Does anyone still use this module? it shows as compatible upto 1.56, hoping it is available for 1.58a? I was told it is no longer working though for modern versions of zencart?

7 Feb 2024, 1:30 PM
#2218
royaldave avatar

royaldave

Zen Follower

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

Re: MultiSite Module Support Thread

flappingfish:

Does anyone still use this module? it shows as compatible upto 1.56, hoping it is available for 1.58a? I was told it is no longer working though for modern versions of zencart?

I know we've chatted privately, but posting publicly for the sake of any chance of keeping this plugin alive.

it took 3 years!! (don't ask) but I have successfully updated to 1.5.7d with this plugin (thank you DrByte post #2148). There is a bug in the cat_filter file - minor mind you - either use the old version or delete/amend the first few lines.

If anyone else is still using this I wouldn't mind a show of hands. I intend (not much choice really) to move to 158 this year - I'll give my current upgrade a bit of time with the customers to iron out anything i missed but its running smoothly at present. And then see if a move to 158 is feasible....

12 Feb 2024, 7:37 PM
#2219
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: MultiSite Module Support Thread

I don't need it myself now but it sounds like you are close, i decided it probably wasn't the best idea to try ticket sales in such a way, i assume what i managed to get was no help :/

13 Feb 2024, 2:38 PM
#2220
royaldave avatar

royaldave

Zen Follower

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

Re: MultiSite Module Support Thread

flappingfish:

I don't need it myself now but it sounds like you are close, i decided it probably wasn't the best idea to try ticket sales in such a way, i assume what i managed to get was no help :/

Pretty confident I have it working.

I'll zip it up and post here when my upgrade to 1.5.8 is complete (it will give it a bit more testing time) - if there is anyone still interested ...