The MU forums have moved to WordPress.org

Upgrade to 2.7 - How to get AUTH_SALT? And do you replace all values? (10 posts)

  1. DanYork
    Member
    Posted 14 years ago #

    I'm confused about step 10 of the WPMU 2.7 upgrade process found here:

    http://codex.wordpress.org/Upgrading_WPMU#2.6_to_2.7

    The second bullet under step 10 includes these two steps:

    define('NONCE_KEY', ''); // replace '' with value from http://api.wordpress.org/secret-key/1.1/
    define('AUTH_SALT', ''); // replace '' with value from http://api.wordpress.org/secret-key/1.1/

    However, when I go to http://api.wordpress.org/secret-key/1.1/ I see 'NONCE_KEY' but I do NOT see 'AUTH_SALT'. Here is what I currently see:

    define('AUTH_KEY', '7[J/#gGlbyfe=)[pWUeA(y/+;oz9UwN%H!%FH;miHQ3PD$+;]Od59}m!~?n1oK`y');
    define('SECURE_AUTH_KEY', 'lLm*3o4M52`-AOrpi$zIMp@Y>cn{^P*@6_#pSf+d*uAu}-q1??|%J8;61xBvH00+');
    define('LOGGED_IN_KEY', 'vDbEgS.C@-@aNq:!$OT5#pL8&={QdWmsg-L+)(Q]I0V sn5E=kxQrE J8RMg#bM1');
    define('NONCE_KEY', 'WZHBaj(kz->Eh[zh<N`n2+[7c;]F)rtjsjS/%+:9~eLOQD*dny(Dh^1N6O-/j{;M');

    So where do I get AUTH_SALT from?

    A second but related question - my wp-config.php file currently already has definitions for:

    AUTH_KEY
    SECURE_AUTH_KEY
    LOGGED_IN_KEY

    When I am adding 'NONCE_KEY', do I need to replace the values of these three other variables with what I get from http://api.wordpress.org/secret-key/1.1/ when I get the NONCE_KEY? Or can they be left with their existing older values?

    Thanks in advance

  2. andrea_r
    Moderator
    Posted 14 years ago #

    "So where do I get AUTH_SALT from?"

    make one up. No seriously, that's all there is to it. Type in a random string of letters.

    And you can leave the other ones as-is.

  3. DanYork
    Member
    Posted 14 years ago #

    Andrea, Thanks... yes, I just figured out by looking at wp-config-sample.php and inferring from a comment that that it doesn't matter WHAT those strings are really. And the entire point of http://api.wordpress.org/secret-key/1.1/ is just to generate random strings for you.

    I guess because that page was showing some of the values, I was expecting to see all of them.

    Thanks.

  4. DanYork
    Member
    Posted 14 years ago #

    And Andrea, doing as you have so often requested, I've gone back to the Codex page and updated it. :-)

  5. andrea_r
    Moderator
    Posted 14 years ago #

    :D

  6. boonika
    Member
    Posted 14 years ago #

    Hi there. I have a different problem. When I have finished replacing old version files with new ones I have entered those two keys plus everything else described here: http://codex.wordpress.org/Upgrading_WPMU

    After that I clicked on Upgrade button. Everything went well.

    But the problem is that I still get WARNING message in my site's administration that I have to add NONCE_KEY and AUTH_SALT.

    So I checked wp-config.php and realized that those 2 keys + other info I have added is gone. Tried it several times but nothing changed. I'm using FileZilla. Could this be some kind of 'permission' problem? Please help.

    Cheers

  7. andrea_r
    Moderator
    Posted 14 years ago #

    Yep, could be.

    Since the wp-config file is auto-created, on some systems you have to login to the server as root and edit the file that way, or chown it.

  8. boonika
    Member
    Posted 14 years ago #

    I will do that... I hope that nothing bad will happen since I've spent 2 days on upgrading and installing BuddyPress:)

  9. boonika
    Member
    Posted 14 years ago #

    "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    Of course that something like this will happento me. Now what?

    :)

  10. boonika
    Member
    Posted 14 years ago #

    Clearing 'cookies' solved the problem:)

    Cheers

About this Topic