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

MultiSite Module Support Thread

Views: 580,165

Results 801 to 820 of 2,247
10 Jun 2009, 07:29
#801
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

MultiSite Module Support Thread

Hi,

Anyone have a working copy of EZ-Pages filter for Multisite module?

I tried installing the release by streetglow, but it doesn't work in my v1.3.8 store.

Thank you!

Really appreciate any help!

11 Jun 2009, 14:02
#802
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Anyone have solution for the linked products not showing up in different site?

Ie. We have product A,B,C,D,E,F under few categories, they are linked products, the category are different in each site, i.e site 1,2,3.

What we need:
Product A, B, C should be displayed in site 1 and 2 (using different category)
Product D, E only shows up in Site 3 only (using its own category)
Product F to shows up on Site 2 only (using its own category)

Problem is, when we change master category of a product, the linked product wont show in another site where the category filtered (turn off), but shows up on the site where master category is not filtered.

I think this was asked frequently in this forum, but no solutions yet, I do hope that someone willing to help us out, I believe this is a common needs for people who use this modules.

I'm willing to help, but have no clue where to start.

Thanks!

16 Jun 2009, 03:28
#803
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Anybody can help us in above issues? really appreciate any helps!

Thanks

17 Jun 2009, 12:48
#804
jkovar avatar

jkovar

New Zenner

Join Date:
Dec 2008
Location:
Cypress, Texas
Posts:
4
Plugin Contributions:
0

Re: MultiSite Module Support Thread

E-mail issues. My second site (on a subdomain) is not sending e-mails. Has anyone else encountered this issue?

My main site https://www.atasteofwellness.com sends order e-mails OK.

My second site https://www.elpaso.atasteofwellness.com does not send emails.

I need the e-mails to go to different store owners.

Any help appreciated.

18 Jun 2009, 23:32
#805
aerografiks avatar

aerografiks

New Zenner

Join Date:
Feb 2009
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I'm at the end of my rope with this mod, i have managed to screw up 2 with the first being my main development platform. I'm willing to pay someone to get this mod up and running for me. If anyone out there is experienced with this and is willing to help me out please PM me. Thanks

03 Jul 2009, 13:28
#806
heapy avatar

heapy

New Zenner

Join Date:
Sep 2007
Posts:
12
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Ok so I have spent ages to overcome the "1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'" error - this was my own fault even though I pasted this via Dreamweaver I didn't notice that it failed due to permissions!:blush:

Now I have a formatting error, this I think is different to some side box's not showing, basically I can view the front page but it is just text with no formatting and if I click on a link/button I get a page cannot be found. I'm sure this is obvious but I can't figure out why?

website https://www.brightideasglobal.com/trade

Thanks in anticipation (would pay someone to sort this for me?)

06 Jul 2009, 23:22
#807
roylen1 avatar

roylen1

New Zenner

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

Re: MultiSite Module Support Thread

heapy:

Ok so I have spent ages to overcome the "1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'" error - this was my own fault even though I pasted this via Dreamweaver I didn't notice that it failed due to permissions!:blush:

Now I have a formatting error, this I think is different to some side box's not showing, basically I can view the front page but it is just text with no formatting and if I click on a link/button I get a page cannot be found. I'm sure this is obvious but I can't figure out why?

website https://www.brightideasglobal.com/trade

Thanks in anticipation (would pay someone to sort this for me?)
@heapy, looks like your template is not being found make sure you follow the following steps from the multisite instructions

Step 3. Create the configuration files of your sites

You now have to create a config file for each one of your sites !
The name of the file has to be:
"www.site1.com_config.php" (for the site targeted by the domain name https://www.site1.com)
This file "www.site1.com_config.php" has to contain:

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

$template_dir is the template that you want to use for this site

06 Jul 2009, 23:35
#808
roylen1 avatar

roylen1

New Zenner

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

Re: MultiSite Module Support Thread

runner1492:

This problem looks quite similar to what I recently ran into.

After a fresh zencart and multisite addon install for 3 domains I was hoping to be able to select any one of my templates and change the sideboxes associated with that template.

That is:

  1. I went to Admin->Tools->TemplateSelection and selected a template.
  2. I went to Admin->LayoutBoxesController to set up the sideboxes.
  3. I repeated steps 1-2 for the other templates I had.

However, the sideboxes only appeared for the first domain that I configured.

After some debugging, I seems that after step 1 above, the zencart SQL table template_select's field called template_dir is not set to the newly selected template after step 1.

In MySQL, I issued the following command to verify this:

mysql> select * template_select;

I manually tried to set it and I was able to successfully update it and my sideboxes show up for mysite2!

mysql> update template_select set template_dir = 'mysite2' where template_id = '1'

So there appears to be something odd happening inside of
admin/template_select.php after the multisite addon perhaps(?)

The $template_dir variable is used in ./admin/layout_controller.php which configures the sideboxes. Without the $template_dir set it just uses the default.

So my three sites now have a categories sidebox working but it would be good to track down what is happening here.

I plan to investigate more if time permits.

Hope it helps someone.
I have the module working however advanced search seems to be broken and I cannot find a fix anywhere on the thread.

For your issue with the templates, make sure you follow "Step 3. Create the configuration files of your sites"

  • basically all sites will use the admin from your main site.
  • to verride this you need to enter the overides (including for templates) directly into the config files as shown in the examples provided in "Step 3. Create the configuration files of your sites" eg

$template_dir is the template that you want to use for this site

You can add constants for overriding of the default configuration from the database or from the configure.php, the following lines are only exemples:
//Do not display the categories at the main page for this site:
define('SHOW_CATEGORIES_ALWAYS','0');
//Display the categories of ID 5 as the main category of the website: define('CATEGORIES_START_MAIN','5');

09 Jul 2009, 19:09
#809
mountain_mama avatar

mountain_mama

New Zenner

Join Date:
Nov 2006
Location:
8,600 ft in the Rocky Montains of Colorado
Posts:
23
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello,

Has anyone been successful using the Multi Site module on a localhost or local host set up? There seems to be an issue because the domain is not https://www.site1.com but rather localhost/site1 and slashes cannot be used in file names (congfig_sites files). Has anyone worked this out? I have several live sites and I would much rather run this on my local host before uploading live.

I am using the latest version of Zen Cart and using a wampserver set up. I am using a fresh install as well. I can provide details if needed.

Thank you!

10 Jul 2009, 09:47
#810
webserious avatar

webserious

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

For anyone interested, I managed to get a column in the address_book database working for the SITE_NAME. Simply add to includes/modules/YOURTEMPLATE/create_account.php before:

zen_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array);

ADD THIS LINE:

//Multisite Module - Add the order_site in the order table
$sql_data_array['site_name']=SITE_NAME;
//eof Multisite Module

This will let you know where your customers are coming from. I have Multisite Module installed on 4 sites using 1.3.8a.

10 Jul 2009, 09:50
#811
webserious avatar

webserious

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

In regards to the post above, I forgot you will need to run a query on your database as follows:

ALTER TABLE address_book ADD site_name varchar(30) NOT NULL DEFAULT 'no';

Make sure to change address_book if you have a prefiix to your tables.

10 Jul 2009, 09:51
#812
webserious avatar

webserious

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I will post instructions for adding the site visibility to Customers in the admin tomorrow or the following day.

11 Jul 2009, 05:53
#813
karimm avatar

karimm

New Zenner

Join Date:
Nov 2008
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

cablesimple:

stuff4Toys,

The override system in ZenCart doesn't apply to the emails as of yet. I've come up with a couple solutions to use store custom graphics and to customize the variables that are used in the emails, but this does not allow you to use your own email template for each store. That being said it wouldn't be too difficult to hack that into the system. In case your interrested in my solutions though:

For the "front-end" emails such as the welcome email, and order confirmation I used the technique I just posted to jkovar.

For the order confirmations it's a bit more tricky. I posted a solution however in post#659 that works well for me.


Regarding your second post. I just tested out the meta_tags.php override and it's working fine on my sites. For a test, try setting the HOME_PAGE variables specifically and see if they change your homepage title/description/keywords.
HOME_PAGE_TITLE
HOME_PAGE_META_DESCRIPTION
HOME_PAGE_META_KEYWORDS

Stuff4toys,

Can you explain what you mean with this, how can i check if the meta_tags.php work before putting my updated site online.

Thanks

11 Jul 2009, 18:07
#814
mountain_mama avatar

mountain_mama

New Zenner

Join Date:
Nov 2006
Location:
8,600 ft in the Rocky Montains of Colorado
Posts:
23
Plugin Contributions:
0

Re: MultiSite Module Support Thread

As I haven't received a response, I am posting again. Sorry if this is basic. I just haven't been able to figure it out.

Hello,

Has anyone been successful using the Multi Site module on a localhost or local host set up? There seems to be an issue because the domain is not www.site1.com but rather localhost/site1 and slashes cannot be used in file names (congfig_sites files). Has anyone worked this out? I have several live sites and I would much rather run this on my local host before uploading live.

(When a make a file localhost_config.php, the template I am specifying loads, but only the header shows up.)

I am using the latest version of Zen Cart and using a wampserver set up. I am using a fresh install as well. I can provide details if needed.

Thank you!

13 Jul 2009, 20:32
#815
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: MultiSite Module Support Thread

bliss72:

An update to my last post - I figured out a workaround for the Sideboxes not apprearing with multisite.

In my case I found that the "classic" & "template_default" templates show the sideboxes for the site I was having problems with.

I backed up my "classic" template. Copied my custom template files into includes/templates/classic - i.e. I copied my css files and images, etc into the classics folder and found that this worked.

I know that there are corresponding "classic" folders in the site like in the modules. I tried creating my own custom folders with that, but I wasn't successful yet.

I was also thinking about trying to install http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=260 to see if that would help with the "reset" sideboxes issue.

There is also a line at the bottom of http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Create that says - "You also need to copy the sidebox settings from the table layout_boxes; this can be done using the addon Import/export layout settings." The link there goes not seem to go to a downloadable product.

If anyone has any ideas please let me know. I'll post any other good results as I find them.

Lisa

I've just upgraded to 1.3.8a multisite from 1.3.7 multisite, and also suffered the missing sideboxes issue, but just on the right hand side. I hit the reset button under the sideboxes admin, and this did not resolve. It was actually my wordpress sidebox that wasn't working properly and was affecting the whole column. FOr those who are having issues, try just enabling a very very basic sidebox first, disabling all others.

13 Jul 2009, 20:38
#816
fotofx avatar

fotofx

Zen Follower

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

Re: MultiSite Module Support Thread

Remember, you need to have a template for each store. You then need to go into admin and one at a time select the template as the active one and go into layout boxes config and set up your sideboxes. All sideboxes are off by default. You can then switch back to the default template. If you do not do this it is like having all your sideboxes off. I am guessing that is your problem.

Steve

16 Jul 2009, 06:42
#817
bigwilliestyle avatar

bigwilliestyle

New Zenner

Join Date:
Jul 2009
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Out2lunch:

I have half sorted it out, after making a stupid mistake, I didn't upload the correct /languages/english/html_includes/cws files.

I am now getting the main page text but its not being formatted by the css, and is all starting from the left border of the background image.

I get a few produces listed on the screen, but no images are coming up for them, and still no side box.

Hi Everybody!

Ok, so I think I'm having a problem similar to this one that has stumped me. I've installed zencart + multisite module on one of my domains before, and everything went smoothly.

Now I'm trying to install it on a different domain, with a different hosting company (godaddy), and I've run into a peculiar error. I've got the multisite part up and running, but whenever I try and go to a store the css isn't being loaded. I've confirmed that it happens in Firefox, Safari, and IE.

When I check the error logs in Firefox, I see:

<path>/includes/templates/template_default/css/stylesheet.css was not loaded because its MIME type, "text/html", is not "text/css".

Which has never happened to me before. I also found out that if I comment out the line

include_once('includes/config_sites/sites_switch.php');

in includes/configure.php everything seems to work fine (except the multisite aspect of course).

I've gone through this thread looking for information, and the above post was the closest thing I could find. So I figured I toss the question out to people smarter than I:

anyone know what is going on here?

16 Jul 2009, 09:07
#818
ggvl avatar

ggvl

New Zenner

Join Date:
Jan 2009
Posts:
23
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Can this contribution be used to provide one centralised payment / checkout system for multiple stores?

For example ...
If you have say 5 stores all selling completely different products could you have?
a) just one of them doing the checkout / payment for all the stores, or
b) a new emtpy store acting purely as the checkout / payment system for all the stores?

The object being to to use one merchant (card processing) account for all the stores instead of having to have one per store.
All the stores are part of the same limited company just in different niches.

Many thanks for any feedback.

17 Jul 2009, 14:58
#819
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Thanks for the mod however i can't get it to work

I get this error:

Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/bin/gzip') in /home/public_html/store/index.php on line 43

now i seem to have narrowed it down to one of the init_templates file as when i removed them, the site started working again.

the ones here: includes\init_includes\overrides\init_templates

can someone please guide me as to a solution as the file DOES exist in my template folder /includes/templates/MYTEMPLATE/common

Thanks

John

17 Jul 2009, 19:30
#820
greyhound avatar

greyhound

New Zenner

Join Date:
Jul 2009
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have fresh install of Zen Cart and installed the latest version of MultiSite Module on my local computer as a development version. To make sure I like it and it works as needed. I need the web addresses of the stores not to be different domain names altogether but the same domain names with a /NewName. Is this possible. Example below

instead of https://www.cars.com I want https://www.stores.biz/cars https://www.stores.biz/shirts https://www.stores.biz/funny. Is this possible if so how.

I am also getting the the domain localhost does not exist when I go to the following link http://localhost/ZenCart/.

Any help would be appreciated.