I’m getting in a redirect loop when I try to login in the front-end of either of my MSM sites.
I can login to the CP fine.
Site 1 - ww2.site1.org
Site 2 - site2.org
When I login to site 1, it redirects in a loop to site 2 on http://www.site2.org.
When I login to site 2, it redirects in a loop on http://www.site2.org.
I do get logged-in, but it dumps me on a page with a URL like this:
If I change the ‘orig’ parameter from ‘0’ to ‘1’ I get taken to the right page.
(related? https://support.ellislab.com/bugs/detail/16620)
I’m using htaccess to remove index.php - but this has been working fine with logins up till now and I haven’t changed it.
User login is set to cookies only in both MSM sites.
I have a cookie prefix set, but no domain set in either MSM site.
I have this line in config:
$config['multi_login_sites'] = "http://ww2.site1.org|http://www.site2.org";Site 1 index.php:
$assign_to_config['site_url'] = 'http://ww2.site1.org/';
$assign_to_config['site_name'] = 'default_site';Site 2 index.php:
$assign_to_config['site_url'] = 'http://www.site2.org/';
$assign_to_config['site_name'] = 'SITE_SHORT_NAME';(SITE_SHORT_NAME is set)
EE: v2.4.0 - Build: date 20120123
MSM: 2.1.2 Build: 20120123
I have tried various settings based on information in the forums, including setting and not setting a cookie domain.
I have cleared cookies, used different browsers, and tested on a blank template with a basic login form tag.
I have globally disabled extensions (no effect).
The only other thing I can think of is emptying the exp_security_hashes table, as advised here and here.
Please advise, thank you.