• Resolved therandomguy12345

    (@therandomguy12345)


    @brainfestation
    @cole Geissinger

    After WordPress 3.6 update, whenever I try to login, I’m stuck on the “Checking Credentials…” message and never actually login. I’ve been using this plugin for a while, so I don’t know what the issue is?

    I am okay with you FTP’ing or using admin credentials on my site to check this up, if needed. I can email you the proper credentials. Please respond as soon as possible though, because this kills my whole front-end login system, which is not good! Please respond as soon as possible. Thanks in advance!

    http://wordpress.org/plugins/wp-modal-login/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter therandomguy12345

    (@therandomguy12345)

    @brainfestation
    @cole Geissinger

    I’m not even actually sure if this is due to updating to WP 3.6. I just assumed it was. Here are some things that I have recently done (for other clues to the issue):

    1. Updated to 3.6
    2. Updated to your latest version of plugin
    3. Added the redirect script your gave me (tweaked BuddyDev) — I removed this, but problem goes on
    4. Disabled and enabled registration — my site’s registration form contains the PHP that calls your modal login window. I also purged site’s cache through WP Engine’s dashboard tab.

    It might still be some sort of JavaScript/AJAX issue that is specific to me, so I would be fine with sending you an email with temporary admin credentials, FTP credentials, and login information. I also would need to send URLs via email, because site is in development and don’t want many impressions.

    Please respond as soon as possible. Thanks in advance.

    Thread Starter therandomguy12345

    (@therandomguy12345)

    @brainfestation
    @cole Geissinger

    Sorry for posting three messages before a response, but I had to add more information — I went on your GitHub repository and downloaded the older version of the plugin (2.0.5.2) and it was no use.

    If

    temporary admin credentials, FTP credentials, URLs, and login information.

    is required, just ask and I’ll be happy to email you some (provide email address)! Maybe, it’s best for you to look at my site hands-on, since one of the past times you did:

    Awesome! Glad I could help and the plugin brings what you are looking for in your site. Plus, you helped me uncover a bug 🙂 Always good to squash those! Happy WordPressing!

    — Cole Geissinger
    http://wordpress.org/support/topic/urgent-always-wrong-credentials-error?replies=15

    I know how much work you have, outside of WordPress.org forums and that you don’t make money here, but this is an issue that (after looking through support forum) many people are facing. It would really be appreciated. Please respond as soon as possible. Thanks in advance.

    Thread Starter therandomguy12345

    (@therandomguy12345)

    I have a lot of updated information on this issue and some of the information in this thread is incorrect, so I have marked this as resolved and I’ll start a new one with all the information I have and wait for a response.

    [moderator note: marking this topic as ‘resolved’ if it is not will confuse any future users when they use the forum search; once you start a new topic, this one will be closed.]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @therandomguy12345 I’ve deleted that duplicate topic.

    Please keep to this topic for your problem. Duplicates make it harder to support you and you can always update this one.

    Edit: I know that’s a bit contradictory given the other advice (and I apologize for that) but please one problem per plugin.

    Plugin Author Cole Geissinger

    (@brainfestation)

    @therandomguy12345 SOrry to hear you’re having issues. I have this plugin installed in multiple virtualboxes and all instances are working for me.

    If downloading a previous hits the same issue, there is a 3rd party issue at play here. I’m sure you did these steps already but I’ll just reiterate here as this should get help answer some things:

    1. Have you disabled all plugins and the issue continues?
    2. Have your (temporally) switched your theme to a default?
    3. If you have made any customizations to the plugin code, and then updated, your code will be lost and replaced with the newest version of the plugin.

    I can definitely say it’s not an issue with the plugin and 3.6. Since I started working on this plugin I’ve been building it on WordPress’ trunk which was all 3.6. And even right now it’s working for 3.7 alpha. I also have back versions installed and still able to get logins working.

    I haven’t touched any of the login stuff for a little while so I’m having a hard time seeing how this is ’caused by this plugin. Although, I’m not completely ruling it out.

    I’m having the same problem too… and I narrowed it down to S2Member as the culprit.

    I’m trying to log in with a non-admin user and with S2Member on, it just gets stuck at the Checking Credentials screen… If I deactivate S2Member, it succeeds.

    This is the best looking modal plugin out there for wordpress, so I Reallllly hope someone can figure out a solution for this. =(

    Thread Starter therandomguy12345

    (@therandomguy12345)

    @brainfestation
    @cole Geissinger

    Might be something to do with User Role Editor, because I have a custom user role setup. I’ll try resetting user roles/permissions and seeing if that has any effect. Otherwise, will you be able to use admin & FTP credentials that I can send via email to diagnose the issue? Please respond as soon as possible. Thanks in advance!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Otherwise, will you be able to use admin & FTP credentials that I can send via email to diagnose the issue?

    Rather than again asking the plugin author to directly access your site via FTP, how far did you get with this clue from the plugin author…?

    I’m sure you did these steps already but I’ll just reiterate here as this should get help answer some things:

    1. Have you disabled all plugins and the issue continues?
    2. Have your (temporally) switched your theme to a default?
    3. If you have made any customizations to the plugin code, and then updated, your code will be lost and replaced with the newest version of the plugin.

    I think you really need to let the plugin author know here how that went before you leap to asking them to do that FTP part.

    Thread Starter therandomguy12345

    (@therandomguy12345)

    @jdembowski
    @jan Dembowski

    You make quite a good point!

    @brainfestation
    @cole Geissinger

    By the way, I did follow your instructions, but didn’t remove a certain plugin, because it had rewrite rules set in host configuration associated with it, because that could crash my site. Since no plugins seemed to fix this, I decided to take a look at the security plugin and found a setting that has FIXED THIS ISSUE! Yay! The plugin was marking WP Modal Login’s request as suspicious query.

    Anyways, thanks! Issue is resolved.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I decided to take a look at the security plugin and found a setting that has FIXED THIS ISSUE! Yay!

    Best news I’ve read all evening. 😉 I’m glad you were able to sort it out.

    @therandomguy12345

    Can you share how you were able to fix this? I’m trying to get it working on my site now as well. Please help!

    Thread Starter therandomguy12345

    (@therandomguy12345)

    @stringbean98
    Well, it apparently had nothing to do with my custom user roles (and I don’t use s2member), so this solution most likely won’t work for you.

    In my case, I found that this issue was caused by a setting in BWPS (http://wordpress.org/plugins/better-wp-security/) that blocked suspcious queries. And since this involves user credentials, I wouldn’t blame the plugin for thinking it’s suspicious. Anyways, I just disabled this and all is well on my part of the equation.

    This probably won’t help you, but it’s all I can say/do?

    Plugin Author Cole Geissinger

    (@brainfestation)

    glad to hear @therandomguy12345!

    @stringbean98, I have just installed s2member and I get the same results. It appears s2member is conflicting with the plugin. I also found a number of undefined variables and some headers already sent messages the second I installed the plugin.

    I’ll continue to dig into this, but I may suggest checking with the author of s2member.

    Plugin Author Cole Geissinger

    (@brainfestation)

    Ok right after I finish that message, this is an issue with s2member. When the PHP is ran for the AJAX login, the PHP fails because of the issues I mentioned above. Your issue is with s2member not properly checking and correcting all notices/errors.

    screenshot of the ajax returned data which is empty due to the errors http://cl.ly/image/0s2N0C1n0h16

    @cole Geissinger
    Thanks for your investigation. When I looked in my browser’s network pane, I noticed that although I wasn’t getting the ajax response back, I Was getting a redirect in the background. I suspected it was S2member’s redirect hooks that was short-circuiting the return for the ajax call. My solution was to implement an S2-hack to disable redirects, which did the trick. Everything is working smooth now. The hack is below:

    /* Need this since the S2Member redirect messes with the redirect from WP Modal Login */
    add_filter("ws_plugin__s2member_login_redirect", "my_custom_login_redirect", 10, 2);
    function my_custom_login_redirect($redirect, $vars = array())
    	{
    		// If you want s2Member to perform the redirect, return true.
    		// return true;
    
    		// Or, if you do NOT want s2Member to perform the redirect, return false.
    		 return false;
    
    		// Or, if you want s2Member to redirect, but to a custom URL, return that URL.
    		// return 'http://www.example.com/reset-password-please/';
    
    		// Or, just return what s2Member already says about the matter.
    		//return $redirect;
    	}

    @therandomguy12345 Thanks for your help too!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Stuck on "Checking Credentials…" after 3.6’ is closed to new replies.