Re: MultiSite Module Support Forum
Well, back to square one.
I have found that with 1.5.4, if you turn on authorize customer, multisite seems to just quit working. There is a bug in 1.5.4 that requires a small code change which is in place. So I guess it is related to this bug.
At first the site that required the login to browse just thru a session error.
[21-Mar-2015 08:21:39 America/New_York] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/includes/config_sites/www.domain.com_config.php:5) in /home/user/public_html/includes/functions/sessions.php on line 115
After I changed that to browse with no prices, I thought I had avoided the problem. But found out that though you can get to the login, you can't login without an error or logout without an error.
So I decided to start with the database from the other site. The one that doesn't have customer authorization turned on. If I put this in the config site file:
define('CUSTOMERS_APPROVAL_AUTHORIZATION','1');
I get the same results. It just will not work with customer authorization turned on in any fashion.
Re: MultiSite Module Support Forum
Quote:
Originally Posted by
delia
Well, back to square one.
I have found that with 1.5.4, if you turn on authorize customer, multisite seems to just quit working. There is a bug in 1.5.4 that requires a small code change which is in place. So I guess it is related to this bug.
At first the site that required the login to browse just thru a session error.
[21-Mar-2015 08:21:39 America/New_York] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/includes/config_sites/www.domain.com_config.php:5) in /home/user/public_html/includes/functions/sessions.php on line 115
After I changed that to browse with no prices, I thought I had avoided the problem. But found out that though you can get to the login, you can't login without an error or logout without an error.
So I decided to start with the database from the other site. The one that doesn't have customer authorization turned on. If I put this in the config site file:
define('CUSTOMERS_APPROVAL_AUTHORIZATION','1');
I get the same results. It just will not work with customer authorization turned on in any fashion.
Ok, I will take a look and try to reproduce the symptoms. Just checking, but you did aply the bug fix there is for 1.5.4 and customer authorization? Not sure is that is the problem, but just trying to find the source.
Re: MultiSite Module Support Forum
yeah, I did and I'm about to pull out that fix to see if that fixes the multisite problem. If it does I'm going to be asking about that fix. It may be that's really a temp fix, not a full fix.
Re: MultiSite Module Support Thread
it's not that bug. There must some changes to session handling in 1.5.4 that creates this problem - and led to the bug in the first place. I'm going to see if I can find out more about that from those who know.....
Re: MultiSite Module Support Thread
I also tried this against a default 1.5.4 database with no change. The files are default 1.5.4 as well. I bypassed the template and this happens on the default-template as well. So pretty much took all the possible site specific files out of the equation. Didn't you say you had tried turning on the customer authorization and it worked in your demo site with 1.5.4?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
delia
Didn't you say you had tried turning on the customer authorization and it worked in your demo site with 1.5.4?
Yes i did. I used the settings you specified a few posts back and all seemed to work. I know for sure I tested on the main domain, but can not remember I also tested on the extra domains. Will test that again , and let you know.
Re: MultiSite Module Support Thread
finally - there was a space after the ending tag in the config file. It only gave a problem when trying to log in which I think is weird but the problem is now solved!!
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
delia
finally - there was a space after the ending tag in the config file. It only gave a problem when trying to log in which I think is weird but the problem is now solved!!
:clap::clap::jump::jump:
Re: MultiSite Module Support Thread
In admin - I see the code in orders.php to distinguish the sites for orders. It's preparing a pull down list but I don't see the code to actually display the pull down list any where - I definitely see no way in admin to distinguish the different orders. I'm assuming there is supposed to be a way to switch between the sites orders.
In the database, that column in the orders table at the moment only has no in that order_site field. I don't see any code to gather the site name and display in all the files.
can you confirm that the code for the orders display is still working?
I also want to extend this to distinguish between customers not just orders. Preferably by just an added field in the customers list (and prefer to see the orders list this way as well). My client wants to look at the list and see at a glance what's up. But I need to be sure the code that is there now is working before I start making code changes.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
delia
In admin - I see the code in orders.php to distinguish the sites for orders. It's preparing a pull down list but I don't see the code to actually display the pull down list any where - I definitely see no way in admin to distinguish the different orders. I'm assuming there is supposed to be a way to switch between the sites orders.
In the database, that column in the orders table at the moment only has no in that order_site field. I don't see any code to gather the site name and display in all the files.
can you confirm that the code for the orders display is still working?
I also want to extend this to distinguish between customers not just orders. Preferably by just an added field in the customers list (and prefer to see the orders list this way as well). My client wants to look at the list and see at a glance what's up. But I need to be sure the code that is there now is working before I start making code changes.
I hate to disappoint you, but that piece of drop down code is the only thing that ever made it. It was placed in the code way before my time, and i never had the time to do anything with it.
So if you want to use the dropdown you will have to write your own code, as I do not have plans to update tis module in the near future..