The MU forums have moved to WordPress.org

Login Password Does Not Work in MU 1.2.1 or 1.1.1 (5 posts)

  1. simplestation
    Member
    Posted 18 years ago #

    Hi All,

    I've tried unsuccessfully to get both a MU 1.2.1 installation or a MU 1.1.1 to allow me to login. Both installs have gone perfectly and I receive the email to login with the right username and password.

    I think copy the password and paste it into the blog login. It fails. If I try resetting the password, it sends me a password reset, and the resetted password still fails.

    I've gone to the database and tried to hard set the password, but that also has no effect. I entered in a password and then selected MD5 from the dropdown list in PHPMYADMIN. As far as I can tell it looks like it's generating valid MD5.

    Help? I'm at my wits end.

  2. simplestation
    Member
    Posted 18 years ago #

    Nevermind found the fix. As it turns out it must have full URL in order to work. DNS shortcuts like http://intranet don't work

  3. gmilby
    Member
    Posted 18 years ago #

    Thanks for posting what was happening. Your post peeked my curiosity.

  4. chajeen
    Member
    Posted 18 years ago #

    Fix Login ::

    Fix this Code in wp-setting.php in line 253 - 262

    >> Old Code <<

    {

    if ( !defined('USER_COOKIE') )
    define('USER_COOKIE', 'wordpressuser');
    if ( !defined('PASS_COOKIE') )
    define('PASS_COOKIE', 'wordpresspass');
    if ( !defined('COOKIEPATH') )
    define('COOKIEPATH', $current_site->path );
    if ( !defined('SITECOOKIEPATH') )
    define('SITECOOKIEPATH', $current_site->path );
    if ( !defined('COOKIE_DOMAIN') )
    define('COOKIE_DOMAIN', '.' . $current_site->domain);

    }

    >> New Code <<

    {

    if ( !defined('USER_COOKIE') )
    define('USER_COOKIE', 'wordpressuser_'. COOKIEHASH);
    if ( !defined('PASS_COOKIE') )
    define('PASS_COOKIE', 'wordpresspass_'. COOKIEHASH);
    if ( !defined('COOKIEPATH') )
    define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
    if ( !defined('SITECOOKIEPATH') )
    define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) );
    if ( !defined('COOKIE_DOMAIN') )
    define('COOKIE_DOMAIN', false);

    }

  5. drmike
    Member
    Posted 18 years ago #

    fixes go over to http://trac.mu.wordpress.org

About this Topic

  • Started 18 years ago by simplestation
  • Latest reply from drmike