Can't login to sub-site dashboards?
-
I know this issue has come up a lot in the past, but I’ve gone through probably 20 different topics now and cannot find a solution to my problem, and I’m hoping maybe someone here can help.
As the topic title suggests, I cannot login to the sub-site dashboards for my WordPress multi-site installation.
We are using the MU-Domain-Mapping plugin, but disabling it doesn’t help or change anything.
Here are some things I tried doing as a solution:
Commenting out the test-cookie check in wp-login.php (around line 745 or so, see:)// If cookies are disabled we can't log in even with a valid user+pass //if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) ) //$user = new WP_Error('test_cookie', __("<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='https://www.google.com/cookies.html'>enable cookies</a> to use WordPress.")); //else $user = wp_signon('', $secure_cookie);
Adding several define lines to the wp-config.php file (see below)
define('ADMIN_COOKIE_PATH', '/'); define('COOKIE_DOMAIN', ''); define('COOKIEPATH', ''); define('SITECOOKIEPATH', '');
None of these solutions seemed to change anything (other than the first removing the error, though I still could not login, it just didn’t show the error).
Some other behavior:
We can log into the network admin portion of our multi-site install.
When logged into the network admin area we get the cookie error when trying to log into the sub sites. It displays this error regardless of whether or not the credentials are correct.
When not logged into the network admin and trying to log in to the sub sites we get no error on successful login, but it still redirects back to the login page. It will display other errors such as invalid password or username not found however.I would greatly appreciate any help on this, I’ve been scratching my head over it all weekend and seem to be getting nowhere.
Thanks in advance.
- The topic ‘Can't login to sub-site dashboards?’ is closed to new replies.