Re: MultiSite Module Support Thread
Perseverance! :) For any that may have had the same issue as me (missing templates or improper linking)... be sure that you check the following!
My issue was in configuration!
@balihr has a great post on how to set up your cpanel for subdomains (http://www.zen-cart.com/showthread.p...630#post822630)
Next have a look at your configure file.. make sure you don't have the subdirectory entered in the catalog definition. It should've pointed to just '/' in my case because I am already pointing to the shop directory in the cpanel redirect. You may have to check your own set up, but when I put in shop after using the cpanel to redirect to shop, it wasn't right. :)
If you copy the following, be sure to delete the ">>>>>>>>>>>>>>>>>>>> " I am only using it to show you what to look at.
$template_dir = "site2";
define('SITE_NAME','site2');
define('HTTP_SERVER', 'http://shop2.mysite.com');
>>>>>>>>>>>>>>>>>>>>>>>define('DIR_WS_CATALOG', '/');
>>>>>>>>>>>>>>>>>>>>>>>define('DIR_WS_HTTPS_CATALOG', '/');
define('STORE_NAME','storename'); //Store Name
define('CATEGORIES_ROOT','7'); //root categories is 1 for this site
Re: MultiSite Module Support Thread
Is anyone good with sessions? I have the carts ready to roll, the only issue I have is if the customer clicks on a site link to another of my stores using this set up and they have anything in their cart, it doesn't show in the cart on the next store... but, if you hit refresh, it does show.
I know not many people would try to cross-order between stores, but because the links are there, they might just try and it would be nice if the process was seamless.
Any help would be greatly appreciated. :)
Re: MultiSite Module Support Thread
I am at the end of me ... literally... I would be grateful for any help at this moment :) I am posting this here, because the issue is only an issue when in a subdomain multicart cart.
****************My issue... Configuration with regards to multisite (because the shop that is the main shop without a subdomain works just fine)****************************
My Current settings relevant to this conversation:
subdomain.myshop.com is pointed to myshop.com/shop via the cpanel subdomain setting (as well as an A name in my host manager panel)
my configure (subdomain.mysite.com_config.php) for the subdomain shops shows the following:
Config #1
IF I use this ... the template doesn't show up for the nonSSL link, but it does for the SSL link! but it seems to break a session as well...
$template_dir = "site10";
define('SITE_NAME','site10');
define('HTTP_SERVER', 'http://subdomain.mysite.com');
define('HTTPS_SERVER', 'https://subdomain.mysite.com');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');
Config #2
IF I use THIS ... the template is there and the NONSSL side works fine, but when you click on anything SSL (checkout) you get sent to the home page of the site (I am talking home home... wordpress)
$template_dir = "site10";
define('SITE_NAME','site10');
define('HTTP_SERVER', 'http://subdomain.mysite.com');
define('HTTPS_SERVER', 'https://subdomain.mysite.com');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
ie... click on this link ... http://subdomain.mysite.com/index.ph...=shopping_cart takes me to http://mysite.com/rgstr/
htaccess has some wordpress specific items such as w3cache and page caching etc.
This is the only thing not in wordpress comments:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
MORE examples...................
************** Images in the https:// don't show not on an image handler hover nor in the what's new sidebox*************
IH4 is working properly on the main shop and I get the hover when over the thumb
http://myshop.com/shop/bmz_cache/a/a...ge.150x150.jpg
IH4 does not show the larger image on hover on the subdomain shop
http://subdomain.myshop.com/bmz_cach...ge.150x150.jpg
*****************Links don't work in the https://properly *******************************
This doesn't just happen with images, it happens with links as well.
http://subdomain.mysite.com/index.ph...product_id=157
doesn't save for later it goes to my account
https://subdomain.mysite.com/shop/in...n_page=account
SPECIFIC TO THE MULTISITE CONFIGURATION: I followed the directions to subdomain a shop to the /shop/ directory
If I curl in putty the https:// link for the subdomain, I get a 302. So the tech at the webhost said I had to go to manage my account and enter the subdomains as an A name... done.... still the same issue.
*** I posted this in the Image Handler Forum thread thinking it was an IH4 issue.
"This is NOT an IH4 issue.. This is a ZEN CART configuration issue, and you need to start a new thread to discuss this topic.. That said I will say this VERY QUICKLY.. If your store is setup as a sub-domain, your configuration file needs to be configured for a sub-domain. Meaning the URL's in HTTP_SERVER, HTTPS_SERVER and should be the sub-domain URL.. If you are not going to use the sub-domain, then the URLs in your configuration file will be configured as you have them. Now if you have any additional questions, you do need to create a new thread as this is not an IH4 support related issue.. "
LOST and disillusioned....
Re: MultiSite Module Support Thread
I am genuine in my search for help and do realize that you all are probably as busy as I am ... please consider having a look and I would love to send
* beer, starbucks or my eternal gratitude :) *
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
dennez
I am genuine in my search for help and do realize that you all are probably as busy as I am ... please consider having a look and I would love to send
* beer, starbucks or my eternal gratitude :) *
I think I got it. Sorry to have posted too much in the thread, I guess.
Re: MultiSite Module Support Thread
just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:
1. create an addon domain
2. create a config_sites file for both the www and non-www versions
3. point the domain to my main sites IP address
and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for www.xxxx.com the username would be xxxx but for this domain i used something different.
any help before i bang my head again..
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
lidlchris
just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:
1. create an addon domain
2. create a config_sites file for both the www and non-www versions
3. point the domain to my main sites IP address
and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for
www.xxxx.com the username would be xxxx but for this domain i used something different.
any help before i bang my head again..
If the domain is pointed / redirected to the same public_html folder as the the domains it should work.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Design75
If the domain is pointed / redirected to the same public_html folder as the the domains it should work.
turns out it was the hosting companies fault.. some cpanel entries didn't get cleared when i removed the domain from the server and then created an addon domain.
but now i've got other issues.. very strange ones too.. check out http://www.swordsofhonor.net/ - it's showing the config_sites file as text before it starts to display the site..
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
lidlchris
turns out it was the hosting companies fault.. some cpanel entries didn't get cleared when i removed the domain from the server and then created an addon domain.
but now i've got other issues.. very strange ones too.. check out
http://www.swordsofhonor.net/ - it's showing the config_sites file as text before it starts to display the site..
Good to hear your problem is solved.
I tried the link, and I do not see the text. It does take some seconds to load the page, but after that it shows up just fine.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Design75
Good to hear your problem is solved.
I tried the link, and I do not see the text. It does take some seconds to load the page, but after that it shows up just fine.
turns out i was missing the final ?> at the end of the config file.. :) strange thing about the slow time though - can't figure that one out.