Forums

[resolved] Cannot login to some sites - no error (4 posts)

  1. ragla
    Member
    Posted 11 months ago #

    Some of my site logins are not working. Some of them are. The user and pass is the same for all of my sites.

    On the sites that I cannot log in to, the wp-login.php goes into an infinite loop with no error when I enter the user/pass. (There is no error on php page or in /var/log/apache2/error.log) when I try to log in.

    It just redirects me right back to:

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

    If I deliberately type the wrong user/pass it DOES show an error.

    Recently upgraded WP...

    I have a WordPress network with several sites (WPMU) and the sites are all displaying/mapping correctly. I used to be able to login to them. Some are running in maintenance mode...

    I'm running WP 3.1.3 on Apache 2.2.8

    .htaccess:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress 
    
    php_value upload_max_filesize 50M
    php_value post_max_size 50M
    php_value max_execution_time 200
    php_value max_input_time 200

    Thanks!

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    Some are running in maintenance mode...

    Via a plugin? There's only one maintenance 'mode' for WP and it;s for all sites.

    Also, are you using subdomains or subfolders?

  3. Andrea_r
    team pirate
    Posted 11 months ago #

    Go to Network admin -> Updates and hit the update network button. sounds like not all of the sites got upgraded.

    Also, don't call it wpmu. yes it matters. Only o so if you in fact upgraded from wpmu.

  4. ragla
    Member
    Posted 11 months ago #

    I did do a full update and I reinstalled the update as well... I finally figured out that it was something else, so I wanted to share it with you guys.

    Turns out that I had something wrong in the domain mapping plugin under SETTINGS > DOMAINS.

    NOT ALL OF MY SITES WERE LISTED THERE, EVEN THOUGH THEY WERE IN THE DB.

    Once I figured out which site IDs corresponded to which sites, it worked!

    Interestingly, this only seemed to affect logging in to the admin pages. The sites showed up correctly, but I could not log in.

    The sites that were correctly entered in there, I was able to log in to, and the other sites I was not able to log in to.

    Thanks Andrea! Thanks Ipstenu!

Reply

You must log in to post.

About this Topic