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,901 to 1,920 of 2,247
2 Sep 2014, 6:31 AM
#1901
sungmo avatar

sungmo

New Zenner

Join Date:
Jan 2010
Posts:
79
Plugin Contributions:
0

MultiSite Module Support Thread

Thanks Ajeh...

i solved this problem... ^^;

but i do not know what was the problem..

i just reinstalled..and then the problem is gone...

thank you for replying me again...

2 Sep 2014, 12:53 PM
#1902
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: MultiSite Module Support Thread

sungmo:

My website is zen 1.5.0. It is not update.. it is installed clean.

and PHP Version: 5.3.3

and I installed multisite.

It works fine.

However, there is a problem.

i made new admin user who is admin2.

admin can access every admin menus.

admin2 can access limited admin menu including "multisite tools"

I gave admin 2 a permition to access multisite tools in the admin profiles

however, when i try to access multisite tools there is a error message.

below is the message...

"Sorry, your security clearance does not allow you to access this resource.

Please contact your site administrator if you believe this to be incorrect.

Sorry for any inconvenience."

can somebody give me a solution?

thank you and have a good one.
The file /YOUR_ADMIN/includes/extra_datafiles/multisite.php needs to be changed to allow non-superuser admins access to the Multisite Tools; change

<?php
  define('FILENAME_MULTISITE', 'multisite.php');

to

<?php
  define('FILENAME_MULTISITE', 'multisite');
2 Sep 2014, 2:56 PM
#1903
sungmo avatar

sungmo

New Zenner

Join Date:
Jan 2010
Posts:
79
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lat9:

The file /YOUR_ADMIN/includes/extra_datafiles/multisite.php needs to be changed to allow non-superuser admins access to the Multisite Tools; change

<?php define('FILENAME_MULTISITE', 'multisite.php'); ``` > to > ``` <?php define('FILENAME_MULTISITE', 'multisite'); ``` Thanks lat9 I solved this problem because of you ^^; I appreciate again...~~~~ Have a good one ..~~~
2 Sep 2014, 7:30 PM
#1904
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: MultiSite Module Support Thread

sungmo:

Thanks lat9

I solved this problem because of you ^^;

I appreciate again...~~~~

Have a good one ..~~~
Glad to have helped, it's a great module!

9 Sep 2014, 4:29 PM
#1905
sungmo avatar

sungmo

New Zenner

Join Date:
Jan 2010
Posts:
79
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have two questions...~

when i type https://www.beauty.com, an error message apears like that "the domain https://www.beauty.com does not exist."

so i checked config_sites folder. the config file name is beauty.com_config.php

that is why the error message appears..

so i changed the name beauty.com_config.php to www.beauty.com_config.php.

it is working fine...

However, if i type beauty.com, the error message apears like that "the domain beauty.com does not exist."

my question is that do i need to make config file for both beauty.com_config.php and www.beauty.com_config.php to avoid error message?

i use 3 domains..

it is working good. I like that..

however, i found one problem.

the problem is that if i add special products in admin, the products show up every sites..

can someone guess what the problem is?

thank you guys...

9 Sep 2014, 4:47 PM
#1906
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

1: You can use a .htacces to redirect all non www domain names to the www domains
2: You probably have not merged all the sidebox code from the module, or to the wrong template.

sungmo:

I have two questions...~

when i type www.beauty.com, an error message apears like that "the domain www.beauty.com does not exist."

so i checked config_sites folder. the config file name is beauty.com_config.php

that is why the error message appears..

so i changed the name beauty.com_config.php to www.beauty.com_config.php.

it is working fine...

However, if i type beauty.com, the error message apears like that "the domain beauty.com does not exist."

my question is that do i need to make config file for both beauty.com_config.php and www.beauty.com_config.php to avoid error message?

i use 3 domains..

it is working good. I like that..

however, i found one problem.

the problem is that if i add special products in admin, the products show up every sites..

can someone guess what the problem is?

thank you guys...

9 Sep 2014, 4:53 PM
#1907
sungmo avatar

sungmo

New Zenner

Join Date:
Jan 2010
Posts:
79
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Thank you Design75

I will try that,.. ^^;

Have a good one...

21 Sep 2014, 11:05 PM
#1908
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75

I have a project that needs to be completed regarding the MultiStore Mod
It is operational on our developer site, but we have an issue with getting it running on our live site.
Please give me a PM regarding the details.

It would be great to get your assistance.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

29 Sep 2014, 7:51 AM
#1909
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Is MultiSite Module work in localhost?..
Is it possible to do in one domain name..
example store1 is in https://www.store1.com
then store2 is inside folder under store1.. https://www.store1.com/store2
thanks..

29 Sep 2014, 8:12 AM
#1910
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: MultiSite Module Support Thread

joehamir:

Is MultiSite Module work in localhost?..
Is it possible to do in one domain name..
example store1 is in https://www.store1.com
then store2 is inside folder under store1.. https://www.store1.com/store2
thanks..

Yes Multisite can work on a localhost setup.

I haven't tried using Multisite with a subdirectory setup, but I can't think of a reason why it wouldn't work - perhaps search this thread as others may have asked/be working with the same issue.

Simon

29 Sep 2014, 8:54 AM
#1911
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

joehamir:

Is MultiSite Module work in localhost?..
Is it possible to do in one domain name..
example store1 is in www.store1.com
then store2 is inside folder under store1.. www.store1.com/store2
thanks..

For the Multi site you use only one file set. Each store will use a different template folder. If you want to use a subfolder in the name for the second shop, I think it is the easiest way to use a redirect for that.

2 Oct 2014, 9:35 AM
#1912
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

i test multisite in localhost..
store1 is now working in my local..
i can now set categories to store1 using multisite tools..
i want to create store2 inside store1..
this will be localhost/store1/store2..
how to achieve this?
do i need to install zencart to store2?
please help.. im running out of time..
thanks and sorry for my bad english..

2 Oct 2014, 10:00 AM
#1913
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

joehamir:

i test multisite in localhost..
store1 is now working in my local..
i can now set categories to store1 using multisite tools..
i want to create store2 inside store1..
this will be localhost/store1/store2..
how to achieve this?
do i need to install zencart to store2?
please help.. im running out of time..
thanks and sorry for my bad english..

You just need to create a new config file with the right data, like the readme explains

2 Oct 2014, 10:23 AM
#1914
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

do i need to install zencart to store2 folder?

2 Oct 2014, 10:52 AM
#1915
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

joehamir:

do i need to install zencart to store2 folder?

NO you use one fileset and on database. The rest is done through the confg files of the sites
in the folder "includes\config_sites".

2 Oct 2014, 10:59 AM
#1916
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

NO you use one fileset and on database. The rest is done through the confg files of the sites
in the folder "includes\config_sites".

i do this in localhost only..

store1 is in localhost/store1

then store2 is in localhost/store1/store2..

i include site_switch in the config of the store2..

like this "include_once('../includes/config_sites/sites_switch.php');"

but this is the display "the domain localhost does not exist."

i create localhost_config.php inside config_sites folder under store1 but it just working in store1..

how can i run it in store2.?

Help Please.. Thanks..

PS: is multisite work in same area? like localhost? like my project..
store1 is in localhost/store1
then store2 is inside store1.. localhost/store1/store2

2 Oct 2014, 11:13 AM
#1917
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

NO you use one fileset and on database. The rest is done through the confg files of the sites
in the folder "includes\config_sites".

can you provide me an example sir?

this is my code in localhost_config.php
$template_dir = "store1";
define('SITE_NAME','store1');

what will i do for store2?
do i need to add this code in the bottom?

$template_dir = "store2";
define('SITE_NAME','store2');

2 Oct 2014, 11:17 AM
#1918
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

joehamir:

i do this in localhost only..

store1 is in localhost/store1

then store2 is in localhost/store1/store2..

i include site_switch in the config of the store2..

like this "include_once('../includes/config_sites/sites_switch.php');"

but this is the display "the domain localhost does not exist."

i create localhost_config.php inside config_sites folder under store1 but it just working in store1..

how can i run it in store2.?

Help Please.. Thanks..

PS: is multisite work in same area? like localhost? like my project..
store1 is in localhost/store1
then store2 is inside store1.. localhost/store1/store2

I does work in localhost, although it has been a long time since i used it, and do not remember exactly how I did that.
I think you should make a config file named : store2_config.php

<?php
$template_dir = "store2";
define('SITE_NAME','store2');
define('HTTP_SERVER', 'http://localhost/store1/store2');
?>
2 Oct 2014, 11:34 AM
#1919
joehamir avatar

joehamir

New Zenner

Join Date:
Sep 2014
Location:
Philippines
Posts:
15
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

I does work in localhost, although it has been a long time since i used it, and do not remember exactly how I did that.
I think you should make a config file named : store2_config.php

<?php $template_dir = "store2"; define('SITE_NAME','store2'); define('HTTP_SERVER', 'http://localhost/store1/store2'); ?>

I really dont understand it.. :(
all i want is just run store2 inside store1.. :(

in store1 i have store1template and store2template..

but i dont undertand how store2template will display in <http://localhost/store1/store2>
20 Oct 2014, 9:04 PM
#1920
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75

Thank you for the followup you did... we have one last hurdle to completing. please PM or email me. It would be great to have your assistance as soon as possible.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com