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,721 to 1,740 of 2,247
2 Jun 2013, 6:45 AM
#1721
noppie avatar

noppie

Zen Follower

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

MultiSite Module Support Thread

noppie:

I am so stumped and hope someone can help me.

I had multisite running on 1.3.9 for a couple of years now..
so I know a little about it.
but now I just can't figure this out

I have three domain.
Herasonlinemarket.com/shop main site
buykandibracelets.com
buykandi.com

ok the main site is working and is working fine

it is the other two that don't work

Here is the config file for buykandibracelets

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "zen2"; define('SITE_NAME','zen2'); ?>

and Categories Description: for kandi store

<!--Zen--Zen3-zen2-->

and my cpanel is
Addon Domains Document Root Username
buykandibracelets.com Home/public_html/shop buykandibracelets

when I go to buykandibracelets.com
it show up great.
then when I click on categories
kandi store
the URL changes to buykandibracelets.com/shop/kandi_store
but the screen stays on the home page.
I just don't know how to fix this ..

the way it worked before there was no -shop- in the url

and yes I have the switch in the configuration file

any help would be great.
Noppie

just more info
ok now if you go under the categoires and click on
all products.. or feature products or new product
the produces show up then click on
any of them and it reverts back to buykandibracelets.com/shop/what ever product

I of ceon url rewrite.. this worked with the 1.3.9 version

My Multi_Site Zen Carts
http://herasonlinemarket.com

2 Jun 2013, 6:46 AM
#1722
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

noppie:

I am so stumped and hope someone can help me.

I had multisite running on 1.3.9 for a couple of years now..
so I know a little about it.
but now I just can't figure this out

I have three domain.
Herasonlinemarket.com/shop main site
buykandibracelets.com
buykandi.com

ok the main site is working and is working fine

it is the other two that don't work

Here is the config file for buykandibracelets

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "zen2"; define('SITE_NAME','zen2'); ?>

and Categories Description: for kandi store

<!--Zen--Zen3-zen2-->

and my cpanel is
Addon Domains Document Root Username
buykandibracelets.com Home/public_html/shop buykandibracelets

when I go to buykandibracelets.com
it show up great.
then when I click on categories
kandi store
the URL changes to buykandibracelets.com/shop/kandi_store
but the screen stays on the home page.
I just don't know how to fix this ..

the way it worked before there was no -shop- in the url

and yes I have the switch in the configuration file

any help would be great.
Noppie

just more info
ok now if you go under the categoires and click on
all products.. or feature products or new product
the produces show up then click on
any of them and it reverts back to buykandibracelets.com/shop/what ever product

I of ceon url rewrite.. this worked with the 1.3.9 version

My Multi_Site Zen Carts
http://herasonlinemarket.com

2 Jun 2013, 7:37 AM
#1723
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

noppie:

just more info
ok now if you go under the categoires and click on
all products.. or feature products or new product
the produces show up then click on
any of them and it reverts back to buykandibracelets.com/shop/what ever product

I of ceon url rewrite.. this worked with the 1.3.9 version

Well good news.. I got almost all the links to work.. the only one is the affilate links. but AI will work on that later..
OH.. YEA THE problem
I am sure was ceon url rewrite.
I uploaded the latest veriosn.. and now most work

I hope it still works tomorrow
have a great evening.
noppie

My Multi_Site Zen Carts
http://herasonlinemarket.com

10 Jun 2013, 10:34 AM
#1724
tmt1630 avatar

tmt1630

New Zenner

Join Date:
Aug 2012
Posts:
33
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have picked up support of a Zencart site and am in the process of upgrading it from 1.3.8a to 1.5.1. The 1.5.1 store currently has Lightbox, Imagehandler and Multisite addons installed.

On the 1.3.8a site, it is able to force customers to log in before viewing items in the store. You can see it here --> http://b2b.essentialjourneys.com. With the same Zencart installation and using Multisite, it allows visitors to browse items at this address --> http://store.essentialjourneys.com without logging in.

I know I can force customer logins through the admin tool and setting the View Shop and Prices option. However, doing this on the 151 upgrade site causes both the store and b2b store fronts to force a login. How do I selectively force a login between store fronts (b2b -- yes to login; store -- no to login)?

Any help would be greatly appreciated!

Thanks!

Tom

10 Jun 2013, 2:03 PM
#1725
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

tmt1630:

I have picked up support of a Zencart site and am in the process of upgrading it from 1.3.8a to 1.5.1. The 1.5.1 store currently has Lightbox, Imagehandler and Multisite addons installed.

On the 1.3.8a site, it is able to force customers to log in before viewing items in the store. You can see it here --> http://b2b.essentialjourneys.com. With the same Zencart installation and using Multisite, it allows visitors to browse items at this address --> http://store.essentialjourneys.com without logging in.

I know I can force customer logins through the admin tool and setting the View Shop and Prices option. However, doing this on the 151 upgrade site causes both the store and b2b store fronts to force a login. How do I selectively force a login between store fronts (b2b -- yes to login; store -- no to login)?

Any help would be greatly appreciated!

Thanks!

Tom

In your config files for the sites (In the folder includes\config_sites)

add: ```php
define('CUSTOMERS_APPROVAL', '1');

or any value you need from tis choice
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only

This will override the default value in the database.
In your admin under tools=>Multisite tools  you can find all the possible overrides.
10 Jun 2013, 9:07 PM
#1726
tmt1630 avatar

tmt1630

New Zenner

Join Date:
Aug 2012
Posts:
33
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Geez...it was right under my nose! Thanks for clarifying...it's working as I expect! Tom

18 Jun 2013, 5:32 PM
#1727
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

ZC 1.5.1
and 18 Mods Installed and working correctly.

I am new to this and is in the process of installing Multisite v1.0 to my zencart. I follow steps 1 to 14 of the installation. I can log into my admin control panel. I do see the Admin>Tools>Multisite Tools menu.

when I try to access my site, it gives me the following message: "the domain birthdaysextreme.net does not exist."

Am I not done yet? I d not understand how the configuration part of the instructions work. Can anyone give me some pointers here?

Any help is greatly appreciated.

18 Jun 2013, 8:43 PM
#1728
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

ZC1.5.1
Multisite v1.0

Can Anyone tell me what is wrong with my config_sites.php files? I get only the header of my site and template, but nothing that appears below the header. My sites are: https://www.birthdaysextreme.net and https://www.birthdayandmore.net

also, when no using the "www." in the browser will yield: "the domain birthdayandmore.net does not exist."

Please see below:

site: https://www.birthdaysextrme.net

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); ?>

site: https://www.birthdayandmore.net

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "robbor_green_BAM"; define('SITE_NAME','robbor_green_BAM'); ?>
18 Jun 2013, 8:59 PM
#1729
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

noppie:

just more info
ok now if you go under the categoires and click on
all products.. or feature products or new product
the produces show up then click on
any of them and it reverts back to buykandibracelets.com/shop/what ever product

I of ceon url rewrite.. this worked with the 1.3.9 version

sorry quoted wrong post

18 Jun 2013, 9:06 PM
#1730
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

twi:

ZC1.5.1
Multisite v1.0

Can Anyone tell me what is wrong with my config_sites.php files? I get only the header of my site and template, but nothing that appears below the header. My sites are: www.birthdaysextreme.net and www.birthdayandmore.net

also, when no using the "www." in the browser will yield: "the domain birthdayandmore.net does not exist."

Please see below:

site: www.birthdaysextrme.net

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); ?>

site: www.birthdayandmore.net

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "robbor_green_BAM"; define('SITE_NAME','robbor_green_BAM'); ?>

I am assuming your original site is http://www.birthdayandmore.net/
since that is the one that is working, and probably is already defined throughthe normal config files.

try this for the second site```php

<?php $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); define('HTTP_SERVER', 'http://www.birthdaysextrme.net'); ?>

that should be enough

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

can left from both files since it is alredy defined in the original config.php , and is not different in the new site

Normally on a good configured server if you go to a www address it should be configured to go automatically to the non www address, or the other way around, what ever has your preference.
If it doesn't you can use your .htaccess file the establish this.
18 Jun 2013, 9:10 PM
#1731
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

Design75:

I am assuming your original site is http://www.birthdayandmore.net/
since that is the one that is working, and probably is already defined throughthe normal config files.

try this for the second site```php

<?php $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); define('HTTP_SERVER', 'http://www.birthdaysextrme.net'); ?>
> 
> that should be enough
> 
> define('DIR_WS_CATALOG', '/');
> define('DIR_WS_HTTPS_CATALOG', '/');
> 
> can left from both files since it is alredy defined in the original config.php , and is not different in the new site
> 
> Normally on a good configured server if you go to a www address it should be configured to go automatically to the non www address, or the other way around, what ever has your preference.
> If it doesn't you can use your .htaccess file the establish this.

No. The original was <https://www.birthdaysextreme.net>

based on what you just said, I have done the following:

<?php
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  $template_dir = "robbor_green_BAM";
  define('SITE_NAME','robbor_green_BAM');
  define('HTTP_SERVER', 'http://www.birthdayandmore.net');
?>


Result is still the same.  can you browse it from your end and see the result?
18 Jun 2013, 9:14 PM
#1732
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

twi:

No. The original was www.birthdaysextreme.net

based on what you just said, I have done the following:

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "robbor_green_BAM"; define('SITE_NAME','robbor_green_BAM'); define('HTTP_SERVER', 'http://www.birthdayandmore.net'); ?>

Okay, seems to be working now, since I can access both sites

18 Jun 2013, 9:22 PM
#1733
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

actually I have just changed the files to:

<?php $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); ?>

and

<?php $template_dir = "robbor_green_BAM"; define('SITE_NAME','robbor_green_BAM'); define('HTTP_SERVER', 'http://www.birthdayandmore.net'); ?>

is it still working? or should I revert back? I did that is because I didn't see it working at my end.

18 Jun 2013, 9:32 PM
#1734
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

twi:

actually I have just changed the files to:

<?php $template_dir = "robbor_red_BEX"; define('SITE_NAME','robbor_red_BEX'); ?>

and

<?php $template_dir = "robbor_green_BAM"; define('SITE_NAME','robbor_green_BAM'); define('HTTP_SERVER', 'http://www.birthdayandmore.net'); ?>

is it still working? or should I revert back? I did that is because I didn't see it working at my end.

Yes, it is still working over here :)
That is about the bare minimum you need to put in the config files

this is what I normally use for the main/first site

<?php
$template_dir = "template1";
define('SITE_NAME','mysite');
define('HTTP_SERVER', 'http://mysite.nl');
// EOF

And this for the extra domains

<?php
$template_dir = "template2";
define('SITE_NAME','myseccondsite');
define('HTTP_SERVER', 'http://myseccondsite.nl');
//EOF

That is the minimum, after you can add extra overrides

18 Jun 2013, 9:36 PM
#1735
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

Design75:

Yes, it is still working over here :)
That is about the bare minimum you need to put in the config files

this is what I normally use for the main/first site

<?php $template_dir = "template1"; define('SITE_NAME','mysite'); define('HTTP_SERVER', 'http://mysite.nl'); // EOF ``` > > And this for the extra domains > ```php <?php $template_dir = "template2"; define('SITE_NAME','myseccondsite'); define('HTTP_SERVER', 'http://myseccondsite.nl'); //EOF ``` > > That is the minimum, after you can add extra overrides But I still only see the headers and not the rest of the website below the header tabs? do you see it there at your side? I am really confused.
18 Jun 2013, 10:11 PM
#1736
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

No I also only see the headers, but the rest not showing is not a config file problem.

You'll probably have some debug files, the page just stops loading after the header part of the site

18 Jun 2013, 10:15 PM
#1737
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

Design75:

No I also only see the headers, but the rest not showing is not a config file problem.

You'll probably have some debug files, the page just stops loading after the header part of the site

so the problem is not with the config_site.php files
Yes I do have some debug files.
Could it be a template problem?

18 Jun 2013, 10:18 PM
#1738
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

twi:

so the problem is not with the config_site.php files
Yes I do have some debug files.
Could it be a template problem?

Could be anything, but just paste the contents here of the newest file and I will take a look.

18 Jun 2013, 10:22 PM
#1739
twi avatar

twi

Zen Follower

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

Re: MultiSite Module Support Thread

Design75:

Could be anything, but just paste the contents here of the newest file and I will take a look.

log doesn't show anything pertaining to the *.net sites. Is there ususally a lag on error logs files?

here is the last MyDebug File:

[18-Jun-2013 18:13:25] PHP Warning: require(includes/modules/robbor_green_BAM/categories_popup.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /data/htdocs/zencart/includes/templates/robbor_green_BAM/common/tpl_header.php on line 192
[18-Jun-2013 18:13:25] PHP Warning: require(includes/modules/robbor_green_BAM/categories_popup.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /htdocs/zencart/includes/templates/robbor_green_BAM/common/tpl_header.php on line 192
[18-Jun-2013 18:13:25] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/modules/robbor_green_BAM/categories_popup.php' (include_path='.:/usr/services/vux/lib/php') in /htdocs/zencart/includes/templates/robbor_green_BAM/common/tpl_header.php on line 192