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

MultiSite Module Support Thread

Views: 580,158

Results 1,241 to 1,260 of 2,247
18 Apr 2010, 18:51
#1241
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

MultiSite Module Support Thread

Hi,

I've searched and not found anyone with a same problem.

For some reason this mod doesnt work with any ajax mods I'v e installed from eazycommerce.

Ajax Search and JQuery Banner

These all require the CJ Loader which is installed and all this works on a single zen cart install I have, however on my multisite setup I just get errors, the config files are setup fine, and the sites works as they should but the modules I installed give errors.

For example when CJ Loader is enabled when I click on the file that combines all js using minify is all looks currupt with '
Warning: include_once(includes/config_sites/sites_switch.php) [function.include-once]: failed to open stream: No such file or directory in /home/public_html/includes/configure.php on line 2' above the corrupted code.

And when typing a keyword in the Ajax search it displays the error 'Warning: include_once(includes/config_sites/sites_switch.php) [function.include-once]: failed to open stream: No such file or directory in /home/prestige/public_html/includes/configure.php on line 2'

but strangly still shows the results as its supposed to underneath the error?

Has anyone else had similar problems with other modules and is there a way to fix these issues.

Many Thanks

23 Apr 2010, 21:04
#1242
elslozzo avatar

elslozzo

New Zenner

Join Date:
Feb 2008
Location:
Edmonton, AB
Posts:
60
Plugin Contributions:
1

Re: MultiSite Module Support Thread

As far as this module goes, the added column in the orders table, is basically just good for tracking what site of your multisites the customer checked out on. It's great to have a multi-site module that allows customers to buy from multiple shops and domains in one transaction, but what about tracking which product came from where? If different shops are run by different people, one (I) needs to track which merchant(s) to credit for the sale. Is this possible or is it asking way too much of the module and perhaps zen-cart in general?

28 Apr 2010, 11:26
#1243
instrumentalist avatar

instrumentalist

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,

Again, I can't seem to find a similar problem (correct e if I'm wrong!) ...

I want to install the Multi site Mod but I need to know whether you can aplly different VAT levels to different sites?

Any help would be appreciated!

Thanks!

30 Apr 2010, 17:57
#1244
sezwakey avatar

sezwakey

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I've been trying to set this module up on a test site to configure everything and test it as it seems as if it is exactly what we are looking to achieve.

I followed all of the installation instructions. It was an existing modified version of zen cart so I used winmerge to compare the files in the MODIFY directory and include the necessary code. I've included the site_switch line in the includes/config file and made sure I have a config file for each site.

The installation is setup on test.franchise-connect.co.uk
the second site is set up on test1.franchise-connect.co.uk

my config file for test.franchise-connect has the following info

<?php
$template_dir = "classic";
define('SITE_NAME','test');
define('HTTP_SERVER', 'http://test.franchise-connect.co.uk');
?>

my config file for test1.franchise-connect.co.uk

<?php
$template_dir = "m2c";
define('SITE_NAME','m2c');
define('HTTP_SERVER', 'http://test1.franchise-connect.co.uk');
?>

The web hosts set up a .htaccess file in the directory of the subdomain to rewrite the address for me but when I type in the subdomain it isn't changing the template or limiting the categories as set up in the admin.

Can someone point me in the right direction as to what I'm doing wrong as I've installed this mod from scratch twice now and can't get it to work correctly. :frusty:

30 Apr 2010, 20:33
#1245
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Your site doesn't work at this moment. All I get is a blank page so I can't see anything and therefore can't help...

But, since you've mentioned htaccess and rewriting, I believe your problem is there. Do you have a linux server? If so, check my previous post here. Have a look at the screenshots. :smile: Remove all your htaccess rewrites or whatever you may have done with it and try as I've described in that post. It should work... If not, we can talk again. Just get the main site running like you say it did...

30 Apr 2010, 22:07
#1246
sezwakey avatar

sezwakey

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I reinstalled a fresh installation of zen cart and put the multisite module straight on top of it. This has let me see that its a problem with the pointing of the subdomains and not with the installation or that I've missed something in the php code.

The domain this is running on is on an apache server with a plesk control panel. I cannot 'point' the subdomains as you would in cpanel. I'm much more familiar with cpanel as I use it on my personal website. However this multisite project is a work related thing and as such I had no choice over the hosting company/set up.

I can set up domain aliases in plesk. However these would point to the index page of the main domain and the zen cart installation is held on a subdomain so I don't see that this would be any use. Hence why the webhosts setup .htaccess rewrites.

Any advice on this would be great 'cos I'm tearing my hair out here!

01 May 2010, 07:17
#1247
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

OMG, plesk...

OK, I'm glad you realised that it has nothing to do with zencart nor multisite module. Perhaps you didn't set up your htaccess file correctly. Have you tried this here?

Also, I would suggest you try this first.

But, there's always your hosting company support if you really can't do it yourself. Just ask them to do it for you, I believe they will do it without any problems.

01 May 2010, 10:10
#1248
sezwakey avatar

sezwakey

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Believe me I already asked the hosting company. It took them four working days to set up working .htaccess files which actually pointed to the right place. I had to go back to them about six times to tell them what they had done wasn't working/wasn't what I asked them to do.

I don't know why they seem to be making it so difficult to just point some subdomains at another subdomain! I've now asked them to set up vhost.conf files to hopefully get this working.

In the mean time I think I'm going to install this onto my personal webspace which is controlled with cpanel and see if I can get it all set up, tested and configured. That way when the hosting company eventually gets their act together I can simply copy the zen cart install over and make the necessary adjustments to the config files.

Thanks for all your help :smile:

01 May 2010, 12:57
#1249
raaj_smvec avatar

raaj_smvec

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

i am using 2 sites in multisite module.my problem is site1 is working fine and in site2 all subcategories are not displaying except few subcategories.pls someone help me out 2 sort ths issue....Thanks

01 May 2010, 14:39
#1250
raaj_smvec avatar

raaj_smvec

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

someone help me out to fix that issue....

01 May 2010, 19:18
#1251
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

@ sezwakey: I hope you don't mind me being honest, but I think your hosting company sucks! This is a very simple request that you've made and they should solve it instantly. If it's something you're working on for a client, i believe it's your duty to inform the client (s)he's with a terrible hosting company and suggest a change. It's your work and your responsibility and therefore you should work with the best there is. If I may, I'd like to suggest Invisionshosting ( https://www.invisionshosting.com ) for a great service and low prices.

@ raaj.smvec: let me find my magic ball to find out what problems you have. You remind me of the story when a blonde calls the fire department and says "help, my house is on fire". The fireman asks "where are you" and she says "across the street at my friends place..." :smile: If you want someone to help you, you should at least provide a link to your site(s) and a few details...

01 May 2010, 21:03
#1252
raaj_smvec avatar

raaj_smvec

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

im sorry. im new 2 zencart.

https://www.hidkitscheap.com

01 May 2010, 21:06
#1253
raaj_smvec avatar

raaj_smvec

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

http://www.hidkitscheap.com
http://motorcyclehidconversion.com

In hidkits subcategories are working well,but in motorcycle subcategories are not showing up except few.but in back end there were details added to that.

02 May 2010, 18:34
#1254
moisex avatar

moisex

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,
I installed Zen Cart 1.3.8a and the multisite module 0.4.1.
After installing site1.com, I try to configure site2.com and put this rule in the htaccess of site2.com
RewriteRule ^/shop/.* https://www.site1.com/shop/$1 [L,R]

The shop appears on site2.com but after several hours, I didn't find why the template still use the default one.

Have you got any idea of what I have to check ?
can I active some trace to find what is not working well ?

Thanks for your help.

02 May 2010, 19:19
#1255
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

raaj.smvec:

http://www.hidkitscheap.com
http://motorcyclehidconversion.com

In hidkits subcategories are working well,but in motorcycle subcategories are not showing up except few.but in back end there were details added to that.

Go to your Admin->Tools->Multisite Tools and click "Display the relations Categories/Sites". Now you'll see all your cats and subcats in one place - see if they have the right site assigned to it. And check it for ALL subcats. Make sure you click the "save" button after making changes...

02 May 2010, 19:31
#1256
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

moisex:

Hi,
I installed Zen Cart 1.3.8a and the multisite module 0.4.1.
After installing site1.com, I try to configure site2.com and put this rule in the htaccess of site2.com
RewriteRule ^/shop/.* https://www.site1.com/shop/$1 [L,R]

The shop appears on site2.com but after several hours, I didn't find why the template still use the default one.

Have you got any idea of what I have to check ?
can I active some trace to find what is not working well ?

Thanks for your help.

Why using rewrites? It's a very powerfull tool, I know, but you need some expert skills to gt it running.

In your case, you redirected your site2 to site1. And that's not what you want, you need site2 to have documentroot at site1. If you have cPanel, it's very easy to do it, I answered it just a few posts ago...

02 May 2010, 20:17
#1257
moisex avatar

moisex

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Site1 and site2 don't have the same content.
that's why I only redirect the shop folder.
My interface is not Cpanel.
with my panel I can redirect full site or a sub domaine. but not a folder.

02 May 2010, 20:26
#1258
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Site1 and site2 don't have the same content.
Of course they don't have the same content, this is multisite module we're talking about... :smile:

that's why I only redirect the shop folder.
My interface is not Cpanel.
with my panel I can redirect full site or a sub domaine. but not a folder.
But you don't need redirects! You need to change the document root, nothing else.

Let me see if got this right:
you have site1 with some content in the root
you installed ZC at https://www.site1.com/shop
you have site2 with some content in the root
you want multisite at shop2.com/shop

is that right? If not, please tell me exactly what you have and what you want.

02 May 2010, 20:53
#1259
moisex avatar

moisex

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

it is exactly that

balihr:

Of course they don't have the same content, this is multisite module we're talking about... :smile:

But you don't need redirects! You need to change the document root, nothing else.

Let me see if got this right:
you have site1 with some content in the root
you installed ZC at https://www.site1.com/shop
you have site2 with some content in the root
you want multisite at shop2.com/shop

is that right? If not, please tell me exactly what you have and what you want.

02 May 2010, 21:13
#1260
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Let me guess, you have Plesk and a shared hosting account. Right? If you have access to the servers conf files, you might get it working, but my guess is you don't have it. I believe you can't solve this yourself and should contact your hosting company to do it for you. You'll probably have to explain in detail what you want - don't let them do a redirect. Tell them that you want your site2.com/shop "pull data" from site1.com/shop while keeping the site2.com url... If they do it for you, you're with a good hosting company.

I'm not 100% sure, but i believe you could get it running if you switch from folders to subdomains. I know there are some disadvantages with subdomains, but there are also some advantages and this could work...

Sorry I couldn't be of more assistance...