2 users online. Create an account or sign in to join them.Users
Multi domain login problem
This is an open discussion with 4 replies, filed under Troubleshooting.
Search
Half way there on my own problem... the symphony core file "class.session.php" was giving me part of the problem, and that was down to my choice of domain name. I'm currently building on "www-test.sardasw.org.uk" and "intranet-test.sardasw.org.uk", and there's a preg in the class.session.php that removes the "www" prefix. Changing this "www" prefix to "www-test" to match my domain at least allows my to get logged in on the www domain as well as the intranet domain.
Still can't get it to run the /debug though.
All you need is log in to any domain you want to debug (by appending /symphony to the URL). So you will be logged in to several domains -- don't worry, that works fine.
Thanks for that feedback michael, but I was aware of that, and had made sure I was logged in. I've tried testing for @logged-in in a template as well, and that is never showing up, as though I'm not properly logged in. As I can't get into the ?debug, I can't check the XML.
It might be a problem that your "satellite" domain is the "www" domain. Symphon's logic is like log in to the main domain (wiht or without "www"), and then you will have a valid cookie for any subdomain -- like "www." or "intranet.", whatever.
So could you try to delete any cookies and log in to the "www" domain? That should give you a cookie which is valid for the intranet subdomain as well.
Create an account or sign in to comment.
Morning all, long time lurker and learner could do with a hand...
I've got a 2.2.1b install going, running two domains (a www- and intranet-) from the one install via the Ninja domain technique. The intranet- domain is the "main" one, with the www- being the site that's served from within it.
I can log in to Symphony on the intranet- domain no problems, but I can't seem to log in via the www- domain. Only just discovered this prob when I went to use the ?debug on a www- page and couldn't!
If I go to www-/symphony/ I can get the login dialog page to come up, but it won't go beyond that. If I log in with the right details, it returns to that login dialog box blanked out with no data in it, and if I put the wrong details in it reports the incorrect password by turning the box red... so its evidently working a bit.
My assumption then is that there's a problem in the redirects in the .htaccess for stuff under the /symphony/ directory on the www- domain, but I can't for the life of me get my head around it.
Anybody come upon this one before or have any good ideas?
Thanks,
Chris.