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

MultiSite Module Support Thread

Views: 580,152

Results 1,021 to 1,040 of 2,247
08 Jan 2010, 00:21
#1021
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

MultiSite Module Support Thread

ideasgirl:

You don't have to add that, it is generated automatically (it is different for every session and every person). Check your configurations, there should be something wrong. Or maybe on that same file of site_links check if you deleted something by error while fixing the other issue (a comma, an apostrophe, etc.) or maybe get a new clean copy to add your links again.

this same problem was encountered back in post 319

http://www.zen-cart.com/forum/showthread.php?t=63997&page=32

then

post 322

mentions to add it (unless I misinterpreted it)

http://www.zen-cart.com/forum/showthread.php?t=63997&page=33

ideagirls, you say no

So I tried undoing something I did yesterday when I followed these directions.

http://www.medea.co.uk/dev/multisite_instructions_0.4.html

"By adding false as third parameter (false), it won't add the zenid to the link."

I had added 'false' because I didn't like the long url, but not realizing it would affect the functioning of the cart.

I just went and removed the zenid and 'false' from the file site_links.php and now the cart still works. So it was 'false' that was doing it.

HMMM. Wonder what I'm going to shoot myself in the foot with next? LOL

thanks again ideasgirl

08 Jan 2010, 04:11
#1022
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: MultiSite Module Support Thread

HMMM. Wonder what I'm going to shoot myself in the foot with next? LOL
:laugh: Don't worry, happens in the best families... (it's a saying we have in Spanish)

Good to know everything is working for you now.

08 Jan 2010, 13:26
#1023
notyet avatar

notyet

New Zenner

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

Re: MultiSite Module Support Thread

Hi,

I am new to zen and i have installed 2 test sites, i have scanned this forum for the problem i have, but due to the amount of posts my eyes have gone.

My problem is, when i just have the test data on show, all side boxes etc are displayed, however, when i activate cateories and add to either site, all but the header and the categories box vanish, only to re appear when i close the catagory again!

What have i done wrong?

Notyet

08 Jan 2010, 14:46
#1024
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Check the descriptions on your products ...

Also, you can get the Debug Tool from the Free Software Add Ons and see if that helps to identify your problem ...

Also, perhaps if we could see an URL to your site we could spot a problem, when you activate one of these Categories that is causing a problem ...

08 Jan 2010, 15:07
#1025
notyet avatar

notyet

New Zenner

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

Re: MultiSite Module Support Thread

Hi ajay,

Thanks for the swift response :smile:

What would the cat description have to do with it?

I only have test data in there at present

https://www.comparethebonus.co.uk
comparethebonus.co.uk

Notyet

08 Jan 2010, 15:18
#1026
notyet avatar

notyet

New Zenner

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

Re: MultiSite Module Support Thread

[08-Jan-2010 15:15:09] PHP Fatal error: Call to undefined function zen_get_generated_category_path_rev() in /home/my-site/public_html/includes/templates/pure_green/sideboxes/tpl_whats_new.php on line 23

Did as you asked and this was the issue

Thanks

08 Jan 2010, 20:12
#1027
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I'm testing my multisite and do have one question:

I do have ex: "domain1.com" and "domain2.com".

Both sites I can access with and without the "www.". Ex: "domain1.com" will be the same as "www.domain1.com", and "domain2.com" will be the same as "www.domain2.com".

First I just had the two config-files:

"domain1.com_config.php" and "domain2.com_config.php". I tried to access "www.domain1.com" and got the error-msg "the domain "www.domain1.com" does not exist".

Ok, so I just copied the content of "domain1.com_config.php" and renamed it to "www.domain1.com_config.php". This means, I do now have two config-files for each domain.

It seams to work properly. But I fear that I might get problems with that later on.

Is this solution o.k.? Or would it be better to make a htaccess-rewriter-rule to rewrite "domain1.com" to "www.domain1.com"?

09 Jan 2010, 01:49
#1028
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I'm now working on the live site. The module is installed and so far the only problem is getting the domains configured for cross site carts.

On my test site I was using only subdomains. On the customers live site they would like to use unique domain names.

The account is hosted on hostgator with the domain names on godaddy pointing to hostgator servers.

Both site1.com and site2.com are add on domains.

Site1.com is the main store and is working fine. Site2.com is showing up in the partner sidebox. I managed to get the link from opening to the 'this site does not exist' page to now opening up into the site2.com folder showing the cgi-bin folder.

Am I doing something wrong or will this not work with all domain names?

Has anyone had luck in using all domain names instead of sub domains?

09 Jan 2010, 02:02
#1029
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I can get it to work with using a subdomain but if I redirect the subdomain to the domain name it then opens up the domains folder. The only thing in the domain folder is the cgi-bin folder.

09 Jan 2010, 12:59
#1030
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: MultiSite Module Support Thread

buildingblocks:

I can get it to work with using a subdomain but if I redirect the subdomain to the domain name it then opens up the domains folder. The only thing in the domain folder is the cgi-bin folder.

Perhaps I didn´t understand you correctly. But site2.com should point to the same place as site1.com. So, you should end up in configuring both domains the same way (I´m talking about apache-config, not the module-config). It seams that this ist not the case in your setup. If so, this is not a multisite-module-problem but a problem of your server-config. Ask your hosting-provider about this. Some providers do not allow two domains pointing to the same directory. But they can config it this way.

09 Jan 2010, 15:46
#1031
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Both the domains we are using are addon domains. We have access to hostgator cpanel

When viewing the Addon Domain page is this how it should be?

**addon domains ** --- **Document root ** --- **User Name ** --- Redirects To

site1.com ---- /public_html/site1.com ---- site1 ----- not redirected

site2.com ---- /public_html/site1.com ---- site2 ----- not redirected

Configured this way when I try the url directly in my browser the page loads saying the domain site2.com does not exist

The dns for both sites are the same

09 Jan 2010, 18:01
#1032
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Ok ...I went and configured the mod files for this address anyway and it is working. DUH

My configuration shown above must be correct.

I tried doing this same thing yesterday and it didn't work so must have made an error somewhere else along the line.

Thanks pink for redirecting me back to something I had previously tried.

09 Jan 2010, 18:06
#1033
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Did you remember to create the site_config files for both sites under the new "includes/config_sites" directory?

09 Jan 2010, 18:19
#1034
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Louis:

Did you remember to create the site_config files for both sites under the new "includes/config_sites" directory?

Thanks Louis, I did.

I don't know where my error was when I previously tried but whatever it was I didn't make it again this time, because it is working now.

:clap:

09 Jan 2010, 18:22
#1035
yps avatar

yps

New Zenner

Join Date:
Feb 2008
Posts:
24
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi, thank you for the great support. But i did not find i solution for following problem:

I installed the module, but as i add the <!--site1--> to the category description no names of the categories are shown in the sidebox only |_ ... :cry:
I have now idea why, can some one help me with that?

Thanks yps

09 Jan 2010, 18:36
#1036
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yps:

Hi, thank you for the great support. But i did not find i solution for following problem:

I installed the module, but as i add the <!--site1--> to the category description no names of the categories are shown in the sidebox only |_ ... :cry:
I have now idea why, can some one help me with that?

Thanks yps

are you adding <!--site1--> manually to each category, or are you using
tools > multi-site tools > Display the relations Categories/Sites to add it?

09 Jan 2010, 18:49
#1037
yps avatar

yps

New Zenner

Join Date:
Feb 2008
Posts:
24
Plugin Contributions:
0

Re: MultiSite Module Support Thread

buildingblocks:

are you adding <!--site1--> manually to each category, or are you using
tools > multi-site tools > Display the relations Categories/Sites to add it?

I tried both but nothing happend.

is the problem maybe, that i using my shop on this domain formate:

https://www.mydomain.de/myshop

?

regards yps

09 Jan 2010, 19:03
#1038
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yps:

I tried both but nothing happend.

is the problem maybe, that i using my shop on this domain formate:

https://www.mydomain.de/myshop

?

regards yps

I don't know yps I've just muddled through installing this mod myself.

When in

tools > multi-site tools > Display the relations Categories/Sites

are you adding site1 without the <!-- -->

the tool adds them automatically

are you using the correct name

09 Jan 2010, 19:15
#1039
yps avatar

yps

New Zenner

Join Date:
Feb 2008
Posts:
24
Plugin Contributions:
0

Re: MultiSite Module Support Thread

buildingblocks:

I don't know yps I've just muddled through installing this mod myself.

When in

tools > multi-site tools > Display the relations Categories/Sites

are you adding site1 without the <!-- -->

the tool adds them automatically

are you using the correct name

I use the html code with <!-- --> and the correct name.

When i do these only one category is created with |_ ... and the category is empty.

But i find the products under all products :blink: ?

yps

09 Jan 2010, 19:20
#1040
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yps:

I use the html code with <!-- --> and the correct name.

When i do these only one category is created with |_ ... and the category is empty.

But i find the products under all products :blink: ?

yps

try using just the name, site1 without using the <!-- --> using the tools > multi-site tools > Display the relations Categories/Sites