WordPress.org

Ready to get started?Download WordPress

Forums

AUTH Code Warning Never Goes Away (11 posts)

  1. sassymonkey
    Member
    Posted 3 years ago #

    I recently installed WP 3.0 Multisite on a BlueHost account without problems.

    I then transferred this database and WP files to an identical HostMonster account (using a different domain/database names).

    I successfully changed over the domain/database names in the database and the wp-config.php file and everything seems to be working.

    However, the Admin pages all show an AUTH code warning at the top in the yellow box WP displays for warnings:

    Warning! WordPress encrypts user cookies, but you must add the following lines to wp-config.php for it to be more secure.
    Before the line /* That's all, stop editing! Happy blogging. */ please add this code:
    
    define( 'AUTH_KEY', 'kv1wK0g71x-*+?P!O_lTd]L- r}4d=_q@B;>RVy*y4|fooTHR=:q~pG~b8lty0pa' );
    ... and so on

    I keep adding the suggested code to the wp-config.php file and uploading to no avail.

    Funny thing is I'm not having this problem on the original BlueHost version.

    The site's here in case that helps: http://mendelsonimages.com

    One odd thing about instructions in the Multisite additions to the wp-config.php file is that there's an AUTH section mid way in the default wp-config file. Multisite additions asks for a second AUTH code section.

    Am I supposed to have two identical AUTH code sections in a working Multisite wp-config file? This seems to work fine on my BlueHost install but neither using two or removing one of the AUTH sections works for the HostMonster version.

  2. dgilmour
    Member
    Posted 3 years ago #

    I keep adding the suggested code to the wp-config.php file

    Why do you keep adding the same thing? Do you mean that each time you look, your changes haven't been saved? If so, that's where we need to look next.

  3. sassymonkey
    Member
    Posted 3 years ago #

    No, a better description is that I keep adding the code it suggests in the warning and I only really did so a few times.

    It's different each time and I assume randomly generated just like when you visit the link in the commented lines of wp-config.php: https://api.wordpress.org/secret-key/1.1/

    In other words, each reload on the admin warning shows a new AUTH code generated. I tried copying it and placing into the Authentication areas of wp-config.php and then re-uploaded without success each time.

    Also, I tried replacing both instances of the when I had kept two in the wp-config file (one in the mid default area (at line 46) and again in the Multisite additions I was instructed to put directly above the /* That's all, stop editing! Happy blogging. */

    Later, I tried removing one of either instance so that there were not two identical AUTH code instances in the wp-config file. Nothing has worked and my admin pages always have the AUTH warning regardless.

  4. For MU, I believe you need one of each of the following:

    Auth_key
    secure_auth_key
    logged_in_key
    nonce_key
    auth_salt
    secure_auth_salt
    logged_in_salt
    nonce_salt

    Do you have all of those?

  5. sassymonkey
    Member
    Posted 3 years ago #

    Ah-ha! I see what the problem was:

    There's a KEY 4 line block and a SALT 4 line block.

    Having only ever seen the KEY version before in working with non-multisite WP, I did not notice a difference.

    In other words, I was copying over the SALT with the KEY since I didn't know there's a difference.

    I see now there are 8 lines total that need to be included in the wp-config file consisting of both SALT and KEY codes.

    Thanks!

  6. No prob :)

  7. sassymonkey
    Member
    Posted 3 years ago #

    BTW, it's odd that I didn't have this problem on my original install on BlueHost.

    I would think that if Multisite needs all 8 lines, it would need it regardless of the host server. Hmm...

  8. Are they both 3.0? And are you sure the BlueHost one doesn't have those lines hiding somewhere?

  9. dustoff3300
    Member
    Posted 3 years ago #

    I installed wp MU on my hostmonster and Hostmonster compatability support told me that it does not work on HM.
    This is the msg from them

    The MU function of WordPress will not work on the hosting here. If you want to run a MU version of WP you will need to use Buddypress. Buddypress is a WP MU that has been modified to run on the hosting here. We've got a quick installation of Buddypress in the simple scripts section page of the cPanel. Have a nice day.

    any comments?

  10. dustoff3300 - That really has nothing to do with this topic. And ... Your host is wrong. BuddyPress is NOT a 'WP MU'. BuddyPress is a WordPress plugin that allows for social networking (like Ning or even Facebook). WP MultiSite is a feature of WordPress that allows for multiple blogs (aka sites).

    So they're on a crazy horse :)

  11. Yeah they did their own "buddypress installer" which is helping to confuse a LOT of people.

    Buddypress will run on single WordPress. MU is no more.

Topic Closed

This topic has been closed to new replies.

About this Topic