Forum Replies Created
-
In reply to: Login WP not logging in BBpress
What does the error log on step 3 say?
Have you tried installing a fresh copy to a totally different directory and using a different database (i.e., doing it without trying to integrate with WordPress)?
In reply to: Login WP not logging in BBpressWhat does the error log on step 3 say?
Have you tried installing a fresh copy to a totally different directory and using a different database (i.e., doing it without trying to integrate with WordPress)?
In reply to: Login WP not logging in BBpressI imagine it should, yes. Did you use the same database info as your WordPress install, as I explained in Step 1?
At which point during the install are you getting an error?
In reply to: Login WP not logging in BBpressI imagine it should, yes. Did you use the same database info as your WordPress install, as I explained in Step 1?
At which point during the install are you getting an error?
In reply to: Login WP not logging in BBpressIf you’re getting a message that says bbPress is already installed, make sure you’ve done the following:
- Deleted all bbPress files on your site
- Deleted the bbPress database or related tables (likely prefixed with
bb_
)
Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.
Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the
wp-config.php
file).Step 2: Check all three boxes and fill in the necessary details:
- Add integration settings
- Add cookie integration settings
- Add user database integration settings
- Show advanced database settings
(no options)
Fill in all of the boxes. You can get the keys and salts from your WordPress
wp-config.php
and the rest of the settings from the General Settings section in WordPress Admin.If you used the default table prefix (
wp_
) when you installed WordPress, you don’t need to change any of these options.(Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.
Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.
Configuring WordPress
To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).
Also, make sure you add this line to the top of your
wp-config.php
file, just below<?php
:define( 'COOKIEPATH', '/' );
If you’ve done everything I explained here, single-login should work as expected.
In reply to: Login WP not logging in BBpressIf you’re getting a message that says bbPress is already installed, make sure you’ve done the following:
- Deleted all bbPress files on your site
- Deleted the bbPress database or related tables (likely prefixed with
bb_
)
Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.
Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the
wp-config.php
file).Step 2: Check all three boxes and fill in the necessary details:
- Add integration settings
- Add cookie integration settings
- Add user database integration settings
- Show advanced database settings
(no options)
Fill in all of the boxes. You can get the keys and salts from your WordPress
wp-config.php
and the rest of the settings from the General Settings section in WordPress Admin.If you used the default table prefix (
wp_
) when you installed WordPress, you don’t need to change any of these options.(Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.
Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.
Configuring WordPress
To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).
Also, make sure you add this line to the top of your
wp-config.php
file, just below<?php
:define( 'COOKIEPATH', '/' );
If you’ve done everything I explained here, single-login should work as expected.
In reply to: Login WP not logging in BBpressI had the exact same problem and I tired everything that was suggested, including triple-checking that all my keys matched, the cookie path was set, and the bbPress Integration plugin was installed in WordPress. I still couldn’t get integration working.
Here’s what I did to fix it: I deleted bbPress, installed a new copy, and during installation entered the same database information as I used for WordPress (same database, same username/password, all of which are available in wp-config.php). I also filled in the various salts and keys as required.
That allowed full user integration on both a database and cookie level and now everything works perfectly. Single sign-on, one-time registration, etc.
Hope this helps someone!
In reply to: Login WP not logging in BBpressI had the exact same problem and I tired everything that was suggested, including triple-checking that all my keys matched, the cookie path was set, and the bbPress Integration plugin was installed in WordPress. I still couldn’t get integration working.
Here’s what I did to fix it: I deleted bbPress, installed a new copy, and during installation entered the same database information as I used for WordPress (same database, same username/password, all of which are available in wp-config.php). I also filled in the various salts and keys as required.
That allowed full user integration on both a database and cookie level and now everything works perfectly. Single sign-on, one-time registration, etc.
Hope this helps someone!