GD login not working properly after update

This topic contains 11 replies, has 3 voices, and was last updated by  Paolo 9 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #63702
    #63706

    jimmymoto
    Full Member
    Post count: 91
    This reply has been marked as private.
    #63794

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    it seems to be related to Enfold, because I can’t recreate it with any other theme.

    I’ve flagged this for the developers.

    We’ll let you know asap.

    Thanks

    #63875

    jimmymoto
    Full Member
    Post count: 91

    I forgot to post the link to the failing GD login page (login url posted privately above will allow you to login via UsersUltra). I’ll paste the url below in a private message.

    Update:
    I’ve reverted back to Enfold 3.4.3 and the issue persists.
    There is a function (in my child theme) to redirect wp-login to Users Ultra login page, but erasing it temporarily did not solve problem (as expected). In any case I’m pasting it here for inspection:

    add_filter( ‘login_url’, ‘my_login_url’ );
    function my_login_url( $url ) {
    $redirect_to = ‘?redirect_to=’ . get_permalink();
    return ‘http://powellriverconnect.com/login/’ . $redirect_to;
    }

    More clues:
    Directly after the GD update my password reset notification emails arrived formated completely differently than how they are formatted at GD > Notifications > client emails. (btw. I was only able to update GD core through the backend and had to manually ftp the updated modules since the plugins page would not show other GD modules as having updates available. I only updated the 9 modules showing Dec 9 release dates).

    Here’s how the password reset emails started showing up (private info redacted, extra <br> removed–note that a new password was not included in the password reset notification, nor was there a link to reset):

    Hi,
    Your password has been reset.
    To login please visit the following URL:
    (my website homepage url)
    Your account e-mail: (my test account email)
    Your account username: (my test account email)
    If you have any problems, please contact us at (my admin email)
    Best Regards!

    You’ll notice that this is formatted completely differently than my settings at: GD > Notifications > client emails

    Other notes: the reason for testing so many password reset notifications is that I recently changed over to email service through Mandrill and was testing how well it worked. The Mandrill switchover happened on December 9th, and the GD password reset emails were showing up perfectly just prior to GD update about 24 hours ago.

    I’m not sure why GD password reset emails worked for an hour or so before [GD_login_box] started to fail completely, but it seemed to coincide with Enfold update.
    I’m not sure why reverting back to previously running Enfold version did not reverse the problem.

    Hope all this info helps.

    #63876

    jimmymoto
    Full Member
    Post count: 91
    This reply has been marked as private.
    #63887

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please check now, it seems to login but now redirects to a 404, let me now exactly what you want/expect to happen.

    Thanks,

    Stiofan

    #63914

    jimmymoto
    Full Member
    Post count: 91

    A successful login should reload the same page (shows GD dashboard). I see that for some reason the page keeps forwarding to a GD author page. Is there a setting for GD login redirect? I’ve added [gd_login_box] to the default sidebar, so the 404 page still shows people their GD dashboard, but a 404 error is not good.

    Also, I noticed that the password reset still does not work. Something got messed up but I can’t figure it out.

    #64020

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The login page will not let you view it once logged in, it will automatically redirect you, please let me know where you want it to redirect to?

    Thanks,

    Stiofan

    #64061

    jimmymoto
    Full Member
    Post count: 91

    Ok, got it. I can’t set the login page to be the same page I want users to end up on after logging in (ie GD Dashboard). Right after upgrading GD and Enfold, I had changed the GD permalinks settings for Login Page to my GD Dashboard page, which caused a loop which killed the password reset functionality.

    I’ve changed the GD permalinks for login page back to a page that just has the [gd_login_box] shortcode and everything works fine again.

    Can you tell me how to change the default login redirect? I’d like it to be the same page I wrote in my last private reply.

    #64073

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK kool

    (not tested) You could add something like this to your functions.php file

    
    
    if (geodir_is_page('login') && get_current_user_id()) {
        wp_redirect("YOUR-URL-HERE", 302);
        exit;
    }

    Thanks,

    Stiofan

    #64196

    jimmymoto
    Full Member
    Post count: 91

    I tried adding the function, but it did not work.

    In any case, after doing more testing I found that the password reset was still not working.
    When I click password reset, the page reloads but the password recovery field still didn’t show up.

    I’ve had to revert back to the previous version of GD for now to ensure my members have no issues logging in (just sent out an email campaign a few days ago to encourage my members to renew their memberships into the new GD system).

    I’ll try updating in a week or two and see if the problem comes back.

    #64261

    Paolo
    Site Admin
    Post count: 31211

    Ok, let us know how it goes.

    Thanks

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount