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

MultiSite Module Support Thread

Views: 580,165

Results 781 to 800 of 2,247
13 May 2009, 09:37
#781
incredibody_com avatar

incredibody_com

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

MultiSite Module Support Thread

Just as an update when putting

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

after

<?php I am now getting a blank page (before it would say the domain did not exist). As another note, I am using subdomains (name.site.com). Could I be doing something wrong setting this up for subdomains?
13 May 2009, 09:59
#782
incredibody_com avatar

incredibody_com

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Sorry about the multi posting, but I figured I would also do a post outlining some information that may be helpful in solving this:

This is a completely new install. I installed Zencart in a folder called NewSecure

I added 2 templates. One called fatvanish and another called musclenow. I added the template_info to each of those folders and in the fatvanish the $template_name was fatvanish and in the musclenow the $template_name was musclenow

I added 2 files to includes/config_sites/. One was called newsecure.fatvanish.com_config.php and one called newsecure.musclenow.com_config.php. I added newsecure.fatvanish.com and newsecure.musclenow.com as subdomains pointing to the NewSecure folder where I installed ZenCart.

Below is the contents of newsecure.fatvanish.com_config.php

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "fatvanish"; define('SITE_NAME','fatvanish'); ?>

Below is the contents of newsecure.musclenow.com_config.php

<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "musclenow"; define('SITE_NAME','musclenow'); ?>

In the config.php files I am using http://newsecure.musclenow.com as the http_server and https://celia.webserversystems.com/~musclewi/NewSecure as the HTTPS_SERVER (this is a shared server).

As stated earlier I'm still not 100% sure if

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

issupposed to go before or after

<?php in includes/config.php I'm currently getting either a blank page if going to <http://newsecure.musclenow.com> or <http://newsecure.fatvanish.com> despite the fact that I've added 2 test products for each site. Hopefully this information will be useful.
14 May 2009, 17:01
#783
typenshoot avatar

typenshoot

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

Re: MultiSite Module Support Thread

nyrad:

i have copied all of my active zen cart files to a test folder, altered the appropriate config to point in to the test folder, and installed this mod. using my redirects i can get the pages to come up, but no side boxes. started to modify by selecting the template, but it change the layout (template) on the active site as well as the test site....is this because i did not do a fresh install for my test site, or did i miss a config step somewhere?

I'm having the same problem on my second site. Perhaps you could post your solution, if you've found one yet

20 May 2009, 22:55
#784
lstensland avatar

lstensland

New Zenner

Join Date:
Mar 2009
Location:
California
Posts:
4
Plugin Contributions:
0

Re: MultiSite Module Support Thread

After you select your template, go to "tools, layout boxe controller" in admin. Go to the bottom and click "reset". That should fix it.

21 May 2009, 01:34
#785
bliss72 avatar

bliss72

New Zenner

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

Re: MultiSite Module Support Thread

nyrad:

i have copied all of my active zen cart files to a test folder, altered the appropriate config to point in to the test folder, and installed this mod. using my redirects i can get the pages to come up, but no side boxes. started to modify by selecting the template, but it change the layout (template) on the active site as well as the test site....is this because i did not do a fresh install for my test site, or did i miss a config step somewhere?

I am having the same problem with sideboxes not showing up in my multisite.

I have clicked the reset button in the Layout Boxes Controller and that is not working.

Please help, I need to get this fixed. :frusty:

Thank you

21 May 2009, 05:25
#786
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Location:
Minneapolis, MN, United States
Posts:
71
Plugin Contributions:
0

Re: MultiSite Module Support Thread

bliss72,

View your source code. Is it complete? That is, check to make sure an error isn't stopping the page from completing.

Look at the bottom of the source code and make sure the </html> tag is there.

21 May 2009, 06:52
#787
bliss72 avatar

bliss72

New Zenner

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

Re: MultiSite Module Support Thread

Hi KThompson,

Thanks very much for responding. My code has </html> at the end. I attached the code for the page without the sideboxes.

I developed the template on another install of Zen Cart and it is fine. (That site does not use the multisite module.) I installed the template on the multisite zen cart install and it does not show the left column. Also, I have tried 2 other free templates and they had the same problem not showing the sideboxes. The template_default and classic template work without problem - they show the sideboxes.

I'm not sure what I am missing. I need to try to get this working by tomorrow. Any help is much appreciated.

Thank you.

Lisa

21 May 2009, 09:18
#788
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Location:
Minneapolis, MN, United States
Posts:
71
Plugin Contributions:
0

Re: MultiSite Module Support Thread

No Problem Lisa,

Can you tell me what sideboxes you have enabled? I'm looking for ones that draw product information, anything like New Products or Featured....sideboxes like those. Try disabling those and see if the sideboxes appear.

Ken

21 May 2009, 16:45
#789
bliss72 avatar

bliss72

New Zenner

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

Re: MultiSite Module Support Thread

Hi Ken,

Thanks. I originally had all the sideboxes on as I clicked the reset button. The only sidebox I need is the categories sidebox for this site. I disabled everything else, but that still didn't work.

As I mentioned, my custom template works fine in a non-multisite zen cart install. The sideboxes show up fine. Another free template I tried had the same problem not showing the sideboxes with multisite, but template_default and classic work fine. My theory right now is that there is a file or code in those templates that make the sideboxes appear that I am missing in my custom template.

I have the German & Danish languages installed as well.

I'm going to try to figure this out today. It seems like if I very carefully go through all of the pieces that are in template_default and compare it to what I have in my custom template, I should find the problem.

Thanks again for your help. If anyone else has any ideas, please let me know! :smile:

Thanks a lot.

Lisa

25 May 2009, 17:17
#790
bliss72 avatar

bliss72

New Zenner

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

Re: MultiSite Module Support Thread

bliss72:

Hi Ken,

Thanks. I originally had all the sideboxes on as I clicked the reset button. The only sidebox I need is the categories sidebox for this site. I disabled everything else, but that still didn't work.

As I mentioned, my custom template works fine in a non-multisite zen cart install. The sideboxes show up fine. Another free template I tried had the same problem not showing the sideboxes with multisite, but template_default and classic work fine. My theory right now is that there is a file or code in those templates that make the sideboxes appear that I am missing in my custom template.

I have the German & Danish languages installed as well.

I'm going to try to figure this out today. It seems like if I very carefully go through all of the pieces that are in template_default and compare it to what I have in my custom template, I should find the problem.

Thanks again for your help. If anyone else has any ideas, please let me know! :smile:

Thanks a lot.

Lisa

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

31 May 2009, 04:05
#791
runner1492 avatar

runner1492

New Zenner

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

Re: MultiSite Module Support Thread

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.

02 Jun 2009, 20:01
#792
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

I am having a problem as well.

fresh install

Followed instructions to the tee...

Did not find my Home Page
No categories or side boxes...

What do I try next?

https://www.buythistoo.com

03 Jun 2009, 11:33
#793
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

I am thinking about ust installing a older version of zen. Think it would work then?

05 Jun 2009, 16:05
#794
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

I started with a fresh install of 1.7
and it seems to work except it s not picking up my style sheets for some reason.

06 Jun 2009, 01:48
#795
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Yup

Used 1.7 and it works...

Not much going on in this thread anymore?
Hope it still gets supported.

Cant afford to get a bunch of merchant accounts....

https://www.buythistoo.com

06 Jun 2009, 02:13
#796
cheapmanuals avatar

cheapmanuals

New Zenner

Join Date:
Jan 2008
Location:
Simi, CA, USA
Posts:
60
Plugin Contributions:
0

Re: MultiSite Module Support Thread

1.7 is what exactly?? I really need this addon to work!!!

06 Jun 2009, 02:42
#797
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Zen Cart 1.3.7.1
Database Patch Level: 1.3.7.1

Its just the previous release of Zen Cart.
I am not a programmer so I cannot figure out why its not working in the newest version.

I just got mine to work. Mind you I am working from a fresh install.

Lets work things out togeather and keep the thread going okay?
2 Minds will work better then 1....

06 Jun 2009, 23:19
#798
cheapmanuals avatar

cheapmanuals

New Zenner

Join Date:
Jan 2008
Location:
Simi, CA, USA
Posts:
60
Plugin Contributions:
0

Re: MultiSite Module Support Thread

OH WELL!! That is what I was afraid you were going to tell me!! I have my site the way I want it with quite a few addons so backtracking to 1.3.7 is not really an option for me. Thank you for the info.

06 Jun 2009, 23:55
#799
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Yeam well if you find a fix for the new version, please let us know.

I see no new mods to the newest version that is essential for what I need to do so I think Ill just stick to it....