I have the plugin set up and a blog mapped, and it works perfectly for everything when you're not logged in. yay!
However, having major issues with the backend. Well, just 1 issue I guess: I can't get to it!
Regardless of the options checked on the Domain Mapping options screen, I can not access the backend of a mapped blog. I am instead displayed the login screen.
http://www.bar.com displays my foo.com/bar site perfectly.
bar.com/wp-admin redirects me to foo.com/bar/wp-login.php
Submitting my login info takes me to:
*however* at this point, at least part of WP thinks I'm actually logged in, because if I go back to bar.com, my "Site Admin" link shows up (which only does if you're logged in)
Clicking on that Site Admin link however, will take me to the login page.
Similarly, if I log in at just foo.com, go to Blogs, and try to visit the backend of foo.com/bar via the Backend link, it will take me to the login page at:
Things to note:
I've checked at pretty much every stage of the process, and almost never see a record in wp_domain_mapping_logins. I can't even consistently reproduce it, but occasionally after doing a bunch of stuff I find one weird record: id=NULL, userid=0, blogid = bar's blogid. t: 1/1/0001 12:00:00 AM
I never get the message: "Incorrect or out of date login key"
I do NOT define DOMAIN_COOKIE in my wp-config
When I log in at foo.com/wp-admin, there are 5 cookies set when i get to the dashboard:
When I log in at foo.com/bar/wp-admin, there are 2 cookies set when i get bounced back to the login page
I did try a much earlier version of the plugin with the same name first, which didn't work. I deleted the domain_mapping table in order to get this one working. Could there be any global options stored in the DB that are conflicting with this version that I could look for and purge?
Any ideas how to fix this, or what I can do to get more debugging information?