Closed (fixed)
Project:
Shared Sign-On
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 May 2006 at 12:27 UTC
Updated:
24 Aug 2006 at 07:00 UTC
Hello, I've noticed a slight problem. I have 2 sites that are using this module. Site 1 (master) and Site 2 (slave)
Signing on (master) will not automatically sign you on to (slave). But signing onto (slave) will automatically sign you onto (master). I've checked all my settings and they all seem to be correct. Does anyone know why this is happening?
Also, I've noticed that there's a slight problem with domains. Logging onto www.(slave) will only log you into www.(master) - so if you log in to www.(slave), you're not automatically logged in to http://(master) you're only logged into http://www.(master)
Comments
Comment #1
danielc commentedThe system works. Not sure what you're doing wrong. Your description is too vague. You had other strange issues that seemed to stem from mistaken configuration or installation and suspect this is the same.
Comment #2
Southpaw commentedI just noticed that if you don't have base_url defined in your settings.php, and you don't force a single domain with .htaccess (ie. a user can get to your site from www.yoursite.com and http://yoursite.com) it won't log you in when going from www.yoursite.com to http://yoursite2.com. It only works when going from www.yoursite.com to www.yoursite2.com.
Maybe I'll try uninstalling the module and then reinstalling it.
Comment #3
Southpaw commentedSorry, I don't know if you'll see this or not if it's closed, so I'll open the bug report again.
If this is just a problem with my set up, please close this again.
Sorry for bugging you.
Comment #4
danielc commentedI just made some changes. Can you please get the latest version from CVS and let me know if it works for you?
Thanks,
--Dan
Comment #5
Southpaw commentedI've downloaded the latest release - The CVS version (July 12th) doesnt seem to work with 4.7, so I tried the July 9th 4.7 download.
I have the same problem as before.
Comment #6
danielc commentedDoes it work if you standardize on all sites having the "www." prefix or none having the "www." prefix for the master_url setting, links between the sites and redirects in .htaccess?
TIP: This is a good idea anyway for search engine ranking and branding.
Comment #7
Southpaw commentedI had a problem with standardising all that with .htaccess files before as I was on shared hosting.
Now that I just moved to my own server, I'll have no trouble doing that. I'll post back here with my findings when I get around to splitting the sites.
Comment #8
Southpaw commentedIt works fine now as far as I can tell.
I guess it was something to do with all my sites on the same shared hosting account. Now that I control my own server, everything is working great!
Thanks for your help!
Comment #9
(not verified) commented