• Resolved Bluetera

    (@afemaleprodigy)


    Yep, going crazy here! Could use some help asap! I have done a lot of trouble shooting and cannot figure out the cause of this issue.

    The wp-login.php is not loading anything after attempting to log in. It just refreshes the login page with no errors. If I intentionally put in incorrect login info, I DO get an invalid password warning. I have tried using login widgets too and they do not log me in.

    However, in Firefox, I can sometimes login as the admin. But I cannot login as any other user. I get that same login refresh problem. In IE, I can’t login as anyone at all.

    I have tried disabling all plugins via admin and database with no luck. Tried renaming the plugin directory with no luck. Also tried disabling all themes except default. I have tried the login form with multiple themes and none of them work.

    I should mention that I build WP sites all the time and all of them work fine and are also on the same type of hosting as this one. I used the same install methods too.

    Thanks for the help!

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Bluetera

    (@afemaleprodigy)

    I know… I said earlier that newly created users do not have login problems. I said the problem was with old users (which is fine, I will just delete them)… but that the problem is now with the registration process.

    No, no plugins like that. Just buddypress and wp-e-commerce

    Well php mailer is what sends them the verification email and handles all the things in the sort, so lets have a look at that code (Not all of it, just line 32-42

    Thread Starter Bluetera

    (@afemaleprodigy)

    class-phpmailer.php line 34

    class PHPMailer {

    Is that all?

    Thread Starter Bluetera

    (@afemaleprodigy)

    Yes, that is all that’s on that line.

    Could the problem be in the register.php page?

    Here is some of the surrounding code so you can see…

    * PHPMailer - PHP email transport class
     * @package PHPMailer
     * @author Andy Prevost
     * @copyright 2004 - 2009 Andy Prevost
     */
    
    class PHPMailer {
    
      /////////////////////////////////////////////////
      // PROPERTIES, PUBLIC
      /////////////////////////////////////////////////
    
      /**
       * Email priority (1 = High, 3 = Normal, 5 = low).
       * @var int
       */
      var $Priority          = 3;
    Thread Starter Bluetera

    (@afemaleprodigy)

    I saw where someone else was getting the same error. I tried the solution that was suggested there. It did make the errors go away, but the user accounts being created from that registration page are still having a login issue. I cannot log in with the newly created accounts. With or without this edit… the form IS creating the accounts, but you can’t log in with them. Login page just refreshes.

    Here was the change I tried (I reverted back to the old until you let me know if you think I should use this change or not)…

    This was in pluggable.php

    Original:

    require_once ABSPATH . WPINC . '/class-phpmailer.php';
    		require_once ABSPATH . WPINC . '/class-smtp.php';

    Edited (this gets rid of the warning):

    if ( !class_exists("PHPMailer") ) require_once ABSPATH . WPINC . '/class-phpmailer.php';
    		if ( !class_exists("PHPMailer") ) require_once ABSPATH . WPINC . '/class-smtp.php';

    It seems like the registration process (from the custom register page) is not creating the accounts correctly or something. Because if you create an account from admin it works fine. Use the front end registration page and you can’t log in with that user.

    Thread Starter Bluetera

    (@afemaleprodigy)

    Please don’t ban me!! Just have more info to add! ??

    The registration page, although giving me the error, is creating the accounts and applying the correct user role to them.

    I’m still getting the white blank page when I try to submit a new user via admin.

    UPDATE:

    I went ahead and put that edit back into pluggable.php which eliminates the registration page warning and also eliminates the blank white page I get when I create a new user via admin. Still testing.

    Thread Starter Bluetera

    (@afemaleprodigy)

    I did a bunch of digging and believe I have resolved the issue on my own.

    I think there was a problem with email activations not being sent out at an earlier date (possibly from a faulty plugin that was later removed). So those users could not log in because they did not get the activation email.

    Then there was the issue with the registration page. The changes I made to pluggable.php cleared up all errors in front and back end.

    Now the activation emails are being sent and user login is working after account activation. I went into the database and manually updated the old users that did not get the activation email. For anyone that needs to do that, go to wp_users table, then edit the field user_status. 0 means active and 2 means inactive.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘problems with login page not working… help??’ is closed to new replies.