Ha, you’re not alone. I had the same problem and just post my question a couple of hours ago!
Hmm, i think i´ve got it to work now, fingers crossed.
This is what i´ve changed from the original:
In bb-config.php:
define(‘BB_AUTH_KEY’, ‘hej’);
define(‘BB_SECURE_AUTH_KEY’, ‘hej’);
define(‘BB_LOGGED_IN_KEY’, ‘hej’);
define(‘BB_NONCE_KEY’, ‘hej’);
— removed by moderator —
The last 3 is find in wp-admin/options.php
And:
$bb->bb_xmlrpc_allow_user_switching = true;
Are you running WP or WP MU?
I couldn’t find those in my wp-admin/options.php…
Wah, I just go ahead and added
those defines (without ‘BB_’ prefix, of course) in my wp-config.php and everything is working now!
Great find, man! Thank you!
Your secret keys are supposed to be secret.
If someone can hack into my devserver that have no access to internet, the person is more than welcome to do it
apbai: Nice, so everything is working now?
Hi there!
I’ve got the same problem with a website I’m working on.
I’ve tried every option posted here, but nothing seem to work.
I am working with WordPress 2.8.4 and bbPress 1.0.2.
I can log in on the bbPress and the WordPress, but the cookie integration (so people only have to log in from 1 place, logged in into both) isn’t working, they seem to get the user information from 1 table in 1 database.
I’ve verified that the keys are the same, all the keys are defined in both wp-config.php and bb-config.php, with the same keys and the same values for the salt. I even have a define(‘cookiepath’, ‘/’);, which also doesn’t seem to work.
I also have bbPress Integration (plugin) installed in WordPress, didn’t help as well.
Anything I may have missed?
The bbPress Integration plugin doesn’t make it work. It gives you instructions on what to do next.
If you have WPMU then you’ll receive four lines from the plugin
define( 'COOKIEHASH', '????????????????????????????????????' );
define( 'COOKIE_DOMAIN', '.????????????????.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );
Paste it in wp-config after <?
then do the same in bb-config without the first line.
Hi there!
Thanks for your response. Does this also affect WordPress (no MU version)?
Sorry I was a bit unclear about the exact version.
I can try the define(‘sitecookiepath’, ‘/’); , I haven’t tried that.
=====
I’ve tried the above define( ‘SITECOOKIEPATH’, ‘/’ ); but it didn’t work as well.
Any further ideas what I can try?
=====
Does anyone have a plain and simple manual how to integrate WP (no MU!) with bbPress? The manual on the site seems to fail me over and over again.
this is a shot in the dark but JesperA move the line
define( 'SITECOOKIEPATH', '/' );
BEFORE
define('DB_NAME',
And make sure you filled in in the BB Admin side the information under
DASHBOARD->SETTINGS->Wordpress Integration
Okay, I’ve fixed it and it’s working at the moment!
I forgot the settings in wp-admin/options.php for WordPress itself.