Zen Cart Logo
Forums / All Other Contributions/Addons / MultiSite Module Support Thread

MultiSite Module Support Thread

Views: 580,150

Results 941 to 960 of 2,247
17 Dec 2009, 18:04
#941
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

MultiSite Module Support Thread

The template (and most everything else) is controled by the config site file. That is all you need to modify.. Once you have the main site working properly you can start on the alternate sites.

Edit the file www.site1.com_config.php

Change

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

To the proper settings..

17 Dec 2009, 18:09
#942
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Please understand I am not trying to be an a** but you really need to read this thread. If you start trying to edit init files or others without necessity... We will not be able to help..

18 Dec 2009, 14:41
#943
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

can anyone help me :(...... i am unable to install it.............

manual made me confuse.......please help...any good and easy detailed manual please help.

18 Dec 2009, 15:20
#944
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Welcome to Zen Cart.. Looks like this is your first post. Read over this thread and read the site rules. Do a search for anything you are looking for to see if it has been answered and then (and only then) leave a DETAILED description of your problem and we will attempt to help.

18 Dec 2009, 16:34
#946
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

https://www.mydomain.com and https://www.mydomain2.com should be pointing to THE SAME folder if you are using the multisite module.

18 Dec 2009, 17:43
#947
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

can u please explain step 5 in easy ...step please...........

18 Dec 2009, 18:05
#948
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

For categories to appear on any of the sites, you must add a tag to the description of that category. Only categories that have the tag will appear within that site.

If you look at the multisite tools in the admin it has an app that simplifies this. You can go into each category and add the tag as described in Step 5 of the installation docs if that is easier to understand.

18 Dec 2009, 18:37
#949
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

now having this error i think i am near

1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
in:
[select cd.categories_name from categories c, categories_description cd where cd.categories_description LIKE '%-SITE_NAME-%' AND cd.language_id=1 AND c.parent_id = CATEGORIES_ROOT and c.categories_id = cd.categories_id and cd.language_id='1' and c.categories_status=1]

please help!!!!!!!

18 Dec 2009, 19:07
#950
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Can you post your config file for the main site? It looks like you did not properly tag the categories to match the actual site name from the config... Actually it looks like you may have entered the example verbatim without actually editing it to match your site..

This is what I would consider an ADVANCED mod. An above average knowledge of how Zen Cart operates is required to successfully use this mod.

Many times when mods are designed the docs may show something like yoursite.com or TEMPLATE_DIR. These lines are meant to be modified to your own names or directories.

If you use them AS-IS ---- BAD THINGS WILL HAPPEN:bangin:

18 Dec 2009, 21:01
#951
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

configure file is attached......now its showing error

the domain store1.vitalsols.com does not exist.

18 Dec 2009, 21:04
#952
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I meant the multisite config... Please delete that file from your post..

NEVER post a file that contains database and/or password info.

18 Dec 2009, 21:09
#953
swguy avatar

swguy

Administrator

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

Re: MultiSite Module Support Thread

You should change your database password immediately.

18 Dec 2009, 21:16
#954
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I would normally never say this but mwaqas_isb..

Have you considered posting in the Commercial Help Wanted Forum.

18 Dec 2009, 21:48
#955
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi ,,,sorry,

now i attached the ...milti config files.

thankyou so much

18 Dec 2009, 23:31
#956
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Try this for the config file..

<?php
$template_dir = "site1";
define('SITE_NAME','site1');
define('HTTP_SERVER', 'http://www.store1.vitalsols.com');
?>

This assumes the store is located at http://www.store1.vitalsols.com

That would be an unusual way to do it. Normally you would have a DNS A Record of www or store1.. Not both.. Looks like you need to figure out your DNS also.

18 Dec 2009, 23:50
#957
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

You also need to change the write permissions on your configure.php files right away. Being your site is online and you are posting your site URL you are just begging for a mess..

19 Dec 2009, 06:11
#958
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

thankyou,

sorry for all truble....u r great ..

19 Dec 2009, 15:05
#959
mwaqas_isb avatar

mwaqas_isb

New Zenner

Join Date:
Dec 2009
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,

i am running.....multiple store ...now....thanks for great ..module....

now i want to know...how can we check.......each website income ......can we see which store is bringing in more money!

please help,

thanks

21 Dec 2009, 01:08
#960
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have setup a real basic multisite demo..

Default Zen Cart install.

Store 1 is using the default "classic" template.
http://multi1.zen-carts.com

Store 2 is using the "silverfish" template from the contributions.
http://multi2.zen-carts.com

Products are the sample ones provided with Zen Cart. Notice the first site has hardware and software categories. The second site has the DVD categories. Both sites share the other categories.

Here are the config_sites files http://multi1.zen-carts.com/config_sites.zip

You will find the multi2 config file has most of the defines commented out.
Uncommenting that line and making a change will allow multi2 to override multi1's default settings.

Hope this helps until I can rewrite some of the doc's.