Originally this was a message I was composing to the Technical Support forums, and since I knew that Lisa would ask me for all the details of my setup, I put them all in there. In the process, I found the problem. So this is now a “How To”.... in this case, “How to avoid looking like a doofus on the Tech Support forums.”
My problem was this: I had three sites set up using MSM. I could log in to my control panel with a “fresh” browser (i.e., with no cookies set) and switch from my default site to site 2. I could then switch to site 3. But once I’d visited the control panel for site 3, I could no longer switch back to site 2. I could switch between 1 and 3, but selecting 2 from the Sites tab just reloaded the page I was on without switching sites.
So I wrote a long and very detailed message about the problem, including all of my setup details, and all of my cookie settings for all three sites. And in the process I discovered that for one of my sites, the one I couldn’t switch back to, my cookie settings did not match the other two sites:
Good sites:
Cookie Domain: “myserver.mydomain.com”
Cookie Path: “/path/to/ee”
Cookie Prefix: “mysite”
Bad site:
Cookie Domain: (blank)
Cookie Path: (blank)
Cookie Prefix: “mysite”
When I fixed the bad site’s preferences to match, the problem was solved.
This was particularly tricky, because once I’d visited a CP for a good site, I couldn’t access the bad site’s CP anymore to see the incorrect values! And since the “bad” site is one that isn’t due to be launched for a couple weeks, while the “good” site was launched today, I’d always go to the good site’s CP first. So it took a lot of investigation to turn up the missing values.
Hope this helps someone.
Cheers!
Ben