The MU forums have moved to WordPress.org

User activation infinite loop (11 posts)

  1. Phayze
    Member
    Posted 15 years ago #

    Hi,
    I've run into a problem with my fresh install of WPMU 2.7 - I can no longer get users to complete the registration without them falling into an infinite loop on wp-login.php

    I thought it was a plugin clash with either maintenance mode or the roles plugin (both of which aren't certified for 2.7, but did work OK at first) - but disabling both still gives the same error.

    The users' details are being stored in wp_usermeta, but only up to a point - there are no _usersettings being populated (which might not mean anything).

    I've enabled "www." using the info here: http://wpmututorials.com/hacks/forcing-mu-to-use-www/ - and it does work OK (well it did) - but I don't know if doing that has messed up a cookie/login setting somewhere?

    Any ideas?

    Thanks,

  2. DeannaS
    Member
    Posted 15 years ago #

    Have you tried killing all your cookies? I've seen issues in the past with cookies and infinite loops on upgrade.

  3. Phayze
    Member
    Posted 15 years ago #

    I don't think it's a cookie issue - this happens to virgin users that I've created, and also when tried in another browser that's never been to the site before.

    I think it might be something to do with my hack to enable "www." on the domain, and cookies being set without that prefix, but I can't be certain. I presume the cookies are set based on the preferences for each blog, so if the site is visible at http://www.domain.com, then the cookie should be set ok.

    The weird thing is I did manage to register and activate one user, but since then, nada.

    Do plugins disabled/enabled for blog1 effect blog2 anywhere?

    I might just have to wipe it and start fresh without http://www...

  4. VentureMaker
    Member
    Posted 15 years ago #

    Just my 2 cents here: get rid of www anyway.

  5. Phayze
    Member
    Posted 15 years ago #

    OK, after a re-install, and not adding "www" back in, I've got it again, but not as severe. I've got my primary blog, and two subfolder blogs. Users I add in the admin to the primary blog get stuck in an infinite loop when they try and login (after getting their user/pass OK), but users I sign up for the sub-blogs can log in OK.

    I realised that registrations were disabled for the main blog, but even after enabling them, I'm still stuck in the loop - do the options persist for the user trying to log in even after I've enabled them?

  6. VentureMaker
    Member
    Posted 15 years ago #

    Sorry, but where is the loop appearing?

  7. Phayze
    Member
    Posted 15 years ago #

    Sorry - it happens when they try to log in - they can activate their user OK, and get the password, but logging in just loops. The user is shown in the back end as being active (I can edit/delete them), but they just can't get in...

  8. VentureMaker
    Member
    Posted 15 years ago #

    Any URL and user/pass I can test with?

  9. Phayze
    Member
    Posted 15 years ago #

    I don't want to disclose it's location yet (Google will pick it up before it's ready), but if you can email me at luc [at] project14 .co.uk, I'll set something up. Thanks,

  10. VentureMaker
    Member
    Posted 15 years ago #

    Mail sent

  11. Phayze
    Member
    Posted 15 years ago #

    OK, I think I've solved it, but this might also be classed as a bug.

    Logged in as an admin, under my primary blog, I added a user (in Users, not Site Admin), added name/email and set them as an editor. The email gets sent to the user, and they can retrieve their password and are asked to log in. At this point logging in triggers an infinite loop.

    As an admin, in the primary blog, I checked the users listed under Site Admin, and the new user was listed, but had no role set for the blog. Editing the user and adding the correct role allowed said user to now log into the back end.

    This seems to only effect adding users to the primary blog, where it seems no role is set, regardless of what you set when adding the user manually.

    Can anyone re-create this?

About this Topic