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,865

Results 1 to 20 of 2,247
23 Apr 2007, 10:24 AM
#1
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

MultiSite Module Support Thread

This thread is the official support forum for the MultiSite Module: https://www.zen-cart.com/downloads.php?do=file&id=378

I completed two sites that are now up and running using the MultiSite Module.

It means that I now have more time for the technical support and for writing the documentation of this module.

A Paypal account is now ready to accept any generous donations from the users of this module:

Paypal account: [email protected]

Official web page related to this module:

http://www.medea.co.uk/dev/

David started to transform the actual documentation a more understandable html format which will be ready really soon.

I am on my way adding comments to the current code and making a proper website for the supports.

This module will be posted to the download section as soon as the documentation will be updated.

Thank you for your interest to our work,

Gerome.

23 Apr 2007, 11:07 PM
#2
shopyoungway avatar

shopyoungway

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

ok so after much work and scratching my head i did get it working (love the new instructions much better) but i need to figure out what i need to do to install it on a second site

24 Apr 2007, 10:08 AM
#3
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Yes, I know that lots of people have issues with configurating the servers.

everything is made easier if you have a dedicated server, because all you need is to point your dns to the IP address of your server and then you have your two sites working.

Otherwise, it can be a problem; David didn't manage to have the two domain pointing to the same folder, so he had to duplicate the files.

THe first shops that uses the Multisite Module are:

http://www.bigdepot.co.uk

http://navnav.co.uk

They are running on the same server and the two DNS are pointing to it.

24 Apr 2007, 12:17 PM
#5
shopyoungway avatar

shopyoungway

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

right i finally got all the bugs worked out and its up on youngwapc.com, now i am working on electronics.youngwaypc.com what i need to find out is what do i need to upload to the electronics folder to get the second site, that is where i am foggy at.

24 Apr 2007, 1:54 PM
#6
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

shopyoungway:

right i finally got all the bugs worked out and its up on youngwapc.com, now i am working on electronics.youngwaypc.com what i need to find out is what do i need to upload to the electronics folder to get the second site, that is where i am foggy at.
Can't you change to folder location of the electronics.youngwaypc.com website so it points to the same folder than your first shop ?

If you can, do that. If not, copy the folder of your first shop to your 2nd shop and it will work (but it will be twice more complicated...)

24 Apr 2007, 7:58 PM
#7
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: MultiSite Module Support Thread

hi
I installed your last one (23 april) on zen137. my sites are located on the same SHARED SERVER under one domain name with different subdomain names and i did copy all files from site1 to site 2 and site 3.
1- do i have to install extra language by copy my language files and use another name (conveniently the same of the each site) to manage sideboxes of each site from admin of the original site?

2- if no, how can I manage sidebox layout from one admin if following david I had to copy all zen cart to the new site and then delete admin folder?
3- I can see the category filter functionality in all sites, when I type the complete adress of a site , all sideboxes are shown in correct layout, but I click on a category (hardware) I get this error;
Fatal error: Call to a member function on a non-object in /home/my_domain/public_html/site1/includes/classes/category_tree.php on line 68

thanks in advance

25 Apr 2007, 8:35 AM
#8
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

You need to have one template per sites (it you want the same, I advice you to duplicate it with a different template name). Then from the admin section, use the "Template Selector" in order to choose which template you want to change the sidebox layout for, and then, go in the sidebox layout and move the sidebox for the selected template.

I have never seen before this error in categories, I'll try to contact you in PV in order to get more information about your configuration...

25 Apr 2007, 8:37 AM
#9
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: MultiSite Module Support Thread

hi gerome, david
1-do you have any idea about my last problem in category_tree.php error?
2- a patch has been presented (XSS Vulnerability in v1.3.7
"24/april) for zen137 whithin the admin/orders.php should be replaced, what is your advise for adaptation of the orders.php in admin now ?
3- may I send you my config in PM? let me know, please.

thnaks

25 Apr 2007, 1:41 PM
#10
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

1-do you have any idea about my last problem in category_tree.php error?

Well, I investigated and found out that it did this error when one of your site has a category with no product and no category for this shop (but categories for other shops...)

I didn't really get why it does that to your zen-cart but not to others but the problem was at line 51 in category_free.php

" while (!$categories->EOF) {"
When the query is empty, was defined as an object and then didn't see that the property return true. It returns false in my test shops thought ...

I replaced this line by " while ($categories->EOF===false) {" and it now works correctly.

The fix will be in the next multisite version that I should do soon...

2- a patch has been presented (XSS Vulnerability in v1.3.7
"24/april) for zen137 whithin the admin/orders.php should be replaced, what is your advise for adaptation of the orders.php in admin now ?
I will see what has changed in orders.php and then, I'll report the changes to the multisite version. I should do that tomorrow as I'm busy today.

Thanks Reza for pointing this error out !

25 Apr 2007, 7:35 PM
#11
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Gerome:

Well, I investigated and found out that it did this error when one of your site has a category with no product and no category for this shop (but categories for other shops...)

I didn't really get why it does that to your zen-cart but not to others but the problem was at line 51 in category_free.php

" while (!$categories->EOF) {"
When the query is empty, was defined as an object and then didn't see that the property return true. It returns false in my test shops thought ...

I replaced this line by " while ($categories->EOF===false) {" and it now works correctly.

The fix will be in the next multisite version that I should do soon...

I will see what has changed in orders.php and then, I'll report the changes to the multisite version. I should do that tomorrow as I'm busy today.

Thanks Reza for pointing this error out !
THANKS GEROME.
IT WORKS NOW ON ALL THREE SITES, BUT IF you look at sage, in the sideboxes you see some codes from (I suppose category_tree.php line 31 - 48)[[ select ptc.category_id as categories_id, cd.categories_name, c.parent_id, c.categories_image from categories c, categories_description cd, product_types_to_category ptc where cd.categories_description LIKE '%-sage-%' AND c.parent_id = 0 and ptc.category_id = cd.categories_id and ptc.product_type_id = 3 and c.categories_id = ptc.category_id and cd.language_id=5 and c.categories_status= 1 order by sort_order, cd.categories_name---1 ]] , or may be another place, will you take an eye to, please?

26 Apr 2007, 8:07 AM
#12
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yes, it was for debug issues. I fixed it.

26 Apr 2007, 1:16 PM
#13
shopyoungway avatar

shopyoungway

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

ok so i answered my own question on how to point a domain and thought i would share it here, don't shoot the messenger:
using this mod is easiest if you can create a subdomain and then "point" it to your domain. The easiest way to do that is have the tech support of your hosting company enable wildcard dns's this can be done within a day on any linux domain, and since it is not a security risk to the server or company they should do it freely.

this is just a heads up to help out, enjoy.

26 Apr 2007, 4:42 PM
#14
shopyoungway avatar

shopyoungway

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

one question what would be conflicting between the IH handler and multisite i can install multisite on aclean install of zen and login and signup works, and visa versa on the IH everything works, but combining the two and something happens i can sign up or sign in. anyone else run into this?

27 Apr 2007, 8:15 AM
#15
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

shopyoungway:

one question what would be conflicting between the IH handler and multisite i can install multisite on aclean install of zen and login and signup works, and visa versa on the IH everything works, but combining the two and something happens i can sign up or sign in. anyone else run into this?

Error messages ?
Is your test shop online ?

I never used IH before, I will give it a try when I will have time.

27 Apr 2007, 1:15 PM
#16
shopyoungway avatar

shopyoungway

New Zenner

Join Date:
Jul 2005
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

yes it is online, have yet to see whats going on but if you try to sign up at youngwaypc.com you will see what i mean.

27 Apr 2007, 4:29 PM
#17
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: MultiSite Module Support Thread

shopyoungway:

yes it is online, have yet to see whats going on but if you try to sign up at youngwaypc.com you will see what i mean.

I tested and it worked well.

New version Beta 0.3 compatible with XSS Vulnerability fix now available

28 Apr 2007, 1:45 AM
#18
xzc avatar

xzc

New Zenner

Join Date:
Apr 2007
Posts:
14
Plugin Contributions:
0

Re: MultiSite Module Support Thread

My question is: is this module can make the website automatically created a shop when some shop-owner finished his registration on the site and if he requested opening a shop within the site?
Is the module has any advantage over the osCommerce contribution - Multistores contribution?
Thanks a lot.

Gerome:

I tested and it worked well.

New version Beta 0.3 compatible with XSS Vulnerability fix now available

28 Apr 2007, 3:15 AM
#19
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: MultiSite Module Support Thread

its the same kinda thing,
it dosnt create a new store for someone.

Zen cart PCI compliant Hosting

28 Apr 2007, 9:26 AM
#20
xzc avatar

xzc

New Zenner

Join Date:
Apr 2007
Posts:
14
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Merlinpa1969:

its the same kinda thing,
it dosnt create a new store for someone.

Thanks for your information :)