Hello, I’ve had the same problem today with a fresh installation of bbPress and WordPress.
I found the solution changing the root nicname, not called admin.
The nicname of bbpress was not like in wordpress despite having given correctly in the installation.
The constants have different names in wp-config.php and bb-config.php. Just copy and paste the VALUES not the whole line.
bb-config.php:
define( 'BBDB_NAME', '123456789' );
define( 'BBDB_USER', '987654321' );
define( 'BBDB_PASSWORD', 'goodpassword' );
define( 'BBDB_HOST', 'localhost or something else' );
wp-config.php:
define('DB_NAME', '123456789');
define('DB_USER', '987654321');
define('DB_PASSWORD', 'goodpassword');
define('DB_HOST', 'localhost or something else');
For bbPress, the constants are name BBDB_ and for WordPress they’re just DB_. You can copy and paste the values, but make sure you don’t change the names from BBDB_ in your bb-config.php.
I’m struggling with a similar issue. In wp-config.php file, the lines only go through 32 and the below aren’t anywhere in there.
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
I’m trying to follow the instructions on this particular thread but I do not have lines 55-61 as suggested below.
Open wp-config line replace your new keys with the one from that link. (lines 55-61)
Does this mean my wordpress site is not set up for users to login?
Where do I go from here?
Thank you!
I’ve tried and tried, but I can’t seem to get my wp_enqueue styles or scripts to fire from within bbpress.
Deep integration is done via wp-load.php, the header and footers are working fine and my functions.php from the wordpress side is being loaded (since my functions in the footer are running fine). But nothing that I’ve enqueued, script or styles, is working.
I’ve tried firing them directly (from within either functions.php), originally they were hooked into wp_print_styles and wp_print_scripts respectively. I’ve tried hooking into template_redirect and init. Neither fires.
Any ideas?
should be your wordpress site plus the folder name mysite.com/forum
In WordPress the folders are wp-admin, wp-content, and wp-includes. You should add a folder called forums or forum and upload everything inside of “bbpress” folder you downloaded. Ultimately you will have in the forum or forums folder bb-admin, bb-includes, etc etc. In WordPress you will now have forums (or forum), wp-admin, wp-content, and wp-includes
I’m very new at this. I’m unclear where specifically to put the bbpress folder so that it will properly interface as an addition to my wordpress blog. Can you please advise in which directory the bbpress folder should sit?
thank you.
They should be the ones that you use for the database connection for WordPress, yes. If you need to double-check them, look at the wp-config.php and copy them from there.
First I had problem realising bbpress was not just a plugin. I dont have to install it in the plugin directory. The installation instructions here did not specify that. It just said “Upload the uncompressed files to your server”. Anyway that is sorted now – I think. I uploaded the bbpress folder and renamed it ‘forums’ to the root of my wordpress installation.
I tried to install. The first step is asking me for database name, user, and password. Is this for my existing wordpress installation? I assumed so and supplied these details but am getting this error msg:
There was a problem connecting to the database you specified.
Please check the settings, then try again.
The problem seems to be that wordpress adds slashes to the input in its initialization, and them comes bbpress and adds slashes once again, and since the code assumes that slashes were added only once, stange things happen.
solution that work for me: in bb-settings.php change
// Sanitise external input
$_GET = bb_global_sanitize( $_GET );
$_POST = bb_global_sanitize( $_POST );
$_COOKIE = bb_global_sanitize( $_COOKIE, false );
$_SERVER = bb_global_sanitize( $_SERVER );
to
if ( !defined( 'ABSPATH' ) ) { // no need to sanitize if wp had done it
// Sanitise external input
$_GET = bb_global_sanitize( $_GET );
$_POST = bb_global_sanitize( $_POST );
$_COOKIE = bb_global_sanitize( $_COOKIE, false );
$_SERVER = bb_global_sanitize( $_SERVER );
}
I am reading your email right now. You just sent me the mail yesterday buddy & I thought that you have been sending me emails and somehow I missed all of them.
email me. my user name at gmail dot com
None of my wordpress logins can log in to bbpress.
gerikg, are you for hire? If I give you the credentials to login and change this stuff on my site, will you do it?
I cannot make this work, and to say it is frustrating is putting it lightly.
Okay…I did everything…it doesn’t work.
I cleared my cache and everything, and when I try to login to bbpress is says user “admin” does not exist.
I can log in to wordpress just fine.
I should also note that when I tried to execute step 4:
4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)
that when I put the information in the bb-config file (at the bottom) I got all sorts of errors in the header of bbpress until I removed that define cookie line.
Any help?
Okay, I did that. On the bb-config do I just put in the four keys, or do I put in 8? Like wp-config it only has four to begin with.
define('AUTH_KEY', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
replace those with the 8 keys
you do the same in bb-config.php
and add “BB_”
define('BB_AUTH_KEY', 'put your unique phrase here');
gerikg, I only have four keys in my wp-config.php file. Plus, I can’t tell what line everything is on because I am using wordpad…It puts EVERYTHING on just a couple of lines. Are you telling me I should add those lines in?
kaz email me my user name at gmail dot com
c4central replace the four keys with the 8 keys from this link: https://api.wordpress.org/secret-key/1.1/salt
and I don’t understand “the wordpress admin should be bbpress admin, correct?”
hey gerikg – Yes, I’ve cleared cache/cookies with each attempt, and tried from multiple machines/browsers –
Also, I can only find four keys in my wp-config.php file, I cannot find any of the “salt” keys.
Does that matter?
Also, when you say do not use any www are you referring to when I am entering the settings into bbpress or wordpress, or just when obtaining those keys?
Just to make sure I am doing this right, the wordpress admin should be bbpress admin, correct? Everything else I am going to make a member of bbpress.
I am going to try this now.
Thanks!
kaz1844, did you clear you cache & cookies…