Forums

Cannot Login to root site after 3.1 upgrade (14 posts)

  1. docnzok
    Member
    Posted 1 year ago #

    I upgraded automatically from one of my sub sites (I think I may have broken it by doing that) and that site (site1.mysite.com) works just fine.

    When I try to login to the main root site (www.mysite.com) it asks for the password and username (again) but then just returns me to the login screen. It doesn't shake like I have a bad username or password, it just returns me to the login page.

    As I said the site I upgraded from (site1.mysite.com) works flawlessly.

    Troubleshooting:
    1. Disabled all plugins from site1.mysite.com
    2. Installed a few redirect plugins (to no avail) (Now deactivated)
    3. Clear browser cache and browsing data

    Running Server 2008 with WAMP

    Click the 'Network Admin' link from site1.mysite.com brings me to login screen where I am stuck in infinite loop of despair.

    Thanks for your help...

  2. Server 2008 ... Windows I presume? What version of IIS or ... whatever passes for it in WAMP? (which is WAY outside my knowledge base, alas)

  3. docnzok
    Member
    Posted 1 year ago #

    Yes Windows Server 2008

    Not using IIS

    Using Wamp (Windows, Apache, mysql, php)

    Thanks

  4. docnzok
    Member
    Posted 1 year ago #

    I still cannot login to my root site?

    Anyone have any ideas?

  5. docnzok
    Member
    Posted 1 year ago #

    Update on this issue...

    http://www.mysite.com/ -public site works fine
    http://www.mysite.com/wp-admin - STUCK IN LOGIN LOOP:
    [http://mysite.com/wp-login.php?redirect_to=http%3A%2F%2Fmysite.com%2Fwp-admin%2F&reauth=1]

    http://sub.mysite.com -public site works fine
    http://sub.mysite.com/wp-admin - logs in just fine

    Troubleshooting Steps:
    1. Clear cookies and cache
    2. Deactivate ALL plugins (Some are network activated and I cannot get to them since they are under the mysite.com/wp-admin dashboard.)
    3. Install and try some conical redirect plugins (now deactivated)

    Don't know what to do next

    I cannot access the root website of this network installation. It would really help if I could...you know for administrative reasons....

    HELP !

  6. Andrea_r
    team pirate
    Posted 1 year ago #

    note it's stripping the www there...

  7. docnzok
    Member
    Posted 1 year ago #

    No, I type that into the browser and get the login box, type in the user and pass then get the login page again with the following URL.

    http://mysite.com/wp-login.php?redirect_to=http%3A%2F%2Fmysite.com%2Fwp-admin%2F&reauth=1

    and it just keeps taking me back to this page.

    And Andrea, I assume it's stripping because in wp-config, I have
    define('WP_DEBUG', false);
    @define('ADMIN_COOKIE_PATH', '/');
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mysite.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    The site I cannot access is site 1. The site that works fine is site 5 if any of that helps

  8. Try define( 'DOMAIN_CURRENT_SITE', 'www.mysite.com' );

    I have a feeling you have a mismatch in there where your site was at http://www.mysite.com before you flipped it to MutliSite.

  9. truefunnystories
    Member
    Posted 1 year ago #

    Last time I have this problem too, I just remove something in .htaccess and disable wordpress mu in wp-config.php and then I can login, then I can do something and recover it and so on.

  10. Binh
    Member
    Posted 1 year ago #

    I had similar problem with meo.vn. After trying several modification of wp-config.php I decided to copy the whole file from a working version. Then it worked.

    What I guess is also the variable that cause problem is:

    define( 'DOMAIN_CURRENT_SITE', 'www.mysite.com' );

    This work:

    define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);

    But it also could be caused by the authentication key... well next time I should be more patient with the problem then.

  11. docnzok
    Member
    Posted 1 year ago #

    Just an update, I have tried all the suggestions that you have posted and I appreciate all the help, but I still have the issue.

    Since my last post, I have deactivated all plugins (Except the ones that I cannot get to in the base domain) dashboard that are network activated)

    But, still when I try to administer the base url of my wordpress install, it just keeps giving me the login page.

    I would appreciate any more help you can give...

    Thanks

  12. docnzok
    Member
    Posted 1 year ago #

    If anyone would like to try to login to my site, I have no problem with that...just let me know via a post.

  13. hirschke
    Member
    Posted 1 year ago #

    I had the same problem - only in firefox tho, chrome works fine.
    I half-solved the problem by deleting wp-config.php from the server - when I tried to re-logon I had to go through the process of reentering the site configuration data.

    Now I had ONE opportunity to log in via wp-login on firefox - only one, the next time I tried I had the same problem as before - I was stuck on the login page.
    Quite annoying, is there any solution to this?

Topic Closed

This topic has been closed to new replies.

About this Topic