Re: My MultiSite Is Not Redirecting Correctly
Tracy,
I agree this is a great add-on, I'm working on bundling this add on with the EZ pages Multi-Site mod + the additional code to show which store the orders come from. I'll try to help you out, but I'm still pretty new to things.
Quote:
Originally Posted by
tracey
I have 2 sites set up with Templates so far. Site1 works fine, but Site2 is only working when I load the home page. When I click links on Site2, they point directly to my Site1 pages and load that site, instead of the Site2 URLs.
Is there something I've missed? How do I fix it so that all the links on Site2 point to Site2 URLs?
Thanks in advance!
What types of links are you talking about? If you are referring to EZ pages, I recommend you install the EZ pages Multi-Site mod (http://www.gjbenterprises.com/uncate...z-pages-add-on) it works great for controlling what EZ pages are displayed on which site.
Re: My MultiSite Is Not Redirecting Correctly
Quote:
Originally Posted by
NWFAP
Thanks for pointing out the EZ pages add-on, I'll definitely check this out!
I'm having problems with pretty much all links on the page: categories, information links, search and EZ pages etc. When I click on any link shown on Site2, it takes me to Site1 (with the Site1 template showing) and the URL shows Site1.com/..., not Site2.com/...
Do you know why this might be happening?
Re: MultiSite Module Support Thread
I did a completely new ZC install and uploaded all MultiSite files again per the instructions and figured out why my webpages weren't loading correctly on Site2.
I had done the www.Site2.com_config.php file incorrectly. I have since corrected it to the following and it works fine:
<?php
$template_dir = "Site2";
define('SITE_NAME','Site2');
define('HTTP_SERVER', 'http://www.site2.com');
define('HTTPS_SERVER', 'https://www.site2.com');
?>
I also found that $template_dir and SITE_NAME have to both be exactly the same for it to display correctly.
I just have one other question which I couldn't find answered in the forum already: How can I get the order_site information to show in the admin panel, as opposed to viewing it through phpMyAdmin each time an order comes in?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
tracey
I did a completely new ZC install and uploaded all MultiSite files again per the instructions and figured out why my webpages weren't loading correctly on Site2.
I had done the
www.Site2.com_config.php file incorrectly. I have since corrected it to the following and it works fine:
<?php
$template_dir = "Site2";
define('SITE_NAME','Site2');
define('HTTP_SERVER', 'http://www.site2.com');
define('HTTPS_SERVER', 'https://www.site2.com');
?>
I also found that $template_dir and SITE_NAME have to both be exactly the same for it to display correctly.
I just have one other question which I couldn't find answered in the forum already: How can I get the order_site information to show in the admin panel, as opposed to viewing it through phpMyAdmin each time an order comes in?
:flex:
Look at post #1351 by Robbie_79. We are using that solution and it seems to work for us on 1.3.9h.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
simon1066
In the process of installing it in v1.50, seems to be working so far, I've yet to use it to the full.
Hi simon
could you tell me if you have manged to get this workin and how you achieved this as i am currently trying to get this module working
Luke
Re: MultiSite Module Support Thread
Hi Luke,
Installation of many of my add-ons is achieved by 'blundering' about until it works, but I'll try and remember if I can.
So, this is installing multisite_0.4.2 on zen cart v1.50. Bear in mind that as multisite is not v1.50 complatible that it might not satisfy zen cart's security requirements so use at your own risk.
Start by following the instructions in 'multisiteinstructions.pdf' but be careful when you get to step 4. I would advise that you ignore the statement 'If this is a fresh Zen-Cart Install and no other modifications have been made then you can just copy these files over the top of the existing Zen-Cart files' as the modified files were not written for v1.50. Instead will need to supplement step 4 with the information in the 'install.txt' file to properly integrate multisite in the zen cart core files. (There was a formatting error in this file that caused some confusion - I can't remember where, hopefully you'll spot it)
As you proceed with this step I would advise that after each file edit you check to make sure your site still functions - don't worry if the layout/template looks screwy - this will sort itself out by the time you reach the end, it's really blank screens and error messages that will tell you that code has been entered incorrectly.
In step 4. don't forget to add SITE_NAME to the order table in your database.
Then move on to step 5 and the rest of the instructions.
Later on you will need to 'force' the registration of multisite in zen cart Admin. This relates to what I mentioned at the start re security, In that if multisite satisfied all of v1.50's requirements then you wouldn't need to fudge this step.
I am not using multisite to take orders so haven't been able to test that functionality
Hope this gives you a place to start, apologies if I'm teaching you to suck eggs.
good luck
Simon
Re: MultiSite Module Support Thread
Follow-on to my last post.
Whilst currently debugging an error with multisite I'll point out the errors I've found in 'install.txt':
### FILE includes/classes/categories_tree.php ###
Line 61: should read Line 107:
### FILE includes/templates/template_default/sideboxes/tpl_categories.php ###
Line 33: is a duplicate of Line 33: in ### FILE includes/modules/specials_index.php ### and is not required
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
simon1066
Follow-on to my last post.
Whilst currently debugging an error with multisite I'll point out the errors I've found in 'install.txt':
### FILE includes/classes/categories_tree.php ###
Line 61: should read Line 107:
### FILE includes/templates/template_default/sideboxes/tpl_categories.php ###
Line 33: is a duplicate of Line 33: in ### FILE includes/modules/specials_index.php ### and is not required
cheers simon
thanks for telling me your progress i know that multi site works as i have use in in the pasted but as im working on a new project i would like to use it again on the new version thanks again.
Re: MultiSite Module Support Thread
Simon
Hows the project going
is there a possiablity you showing me some of the files you modfied.
Luke
Re: MultiSite Module Support Thread
Luke,
In response to your pm. Multisite seems to be working fine so far, for my needs, in v1.50. You'll need to be more specific on the difficulties you're having before I can give you any info.
cheers
Simon