I had WP2.7.1 and bbPress1.06a working perfectly.
Now I’ve replaced 1.06a with RC1. Kept exactly the same settings (apart from a duplicate bbp database – which is identical in all but name). Same wordpress integration bumpf in the bb-config file.
Then I run the database upgrade. And it all works as expected apart from the cookie integration.
Logging in via WP does log me into bbP but I can’t log into WP unless I go through /wp-admin (cookies spat out by each login all correspond.)
Anyone else had a similar problem or offer a solution?
I have upgraded the bb-integration plugin in WP and if I switch back to the previous version of the forum it all works fine again. So I can only pressume something odd is happening in RC1.
It’s not in your folder, it’s in your SQL database.
As I said, you’re going to need phpMyAdmin or something to fix it.
I am having the same problem as well. Using WordPress MU 2.7.1, bbPress 1.0-rc-1 and buddypress 1.0. WPMU and bbPress successfully share the user database, but users still have to log in seperately.
WPMU seems to store the login information in a cookie called “wordpress_logged_in_”, while bbpress uses “wordpress_logged_in_[bunch of letters and numbers]”.
I already tried adding “define(‘COOKIEHASH’, ‘[same bunch of letters and numbers]’ );” to wp-config.php, but it had no effect whatsoever. No hash appeared in the wp-login-cookie.
I also tried making bbPress use “wordpress_logged_in_” (without the bunch of numbers) as login cookie. This resulted in the same cookie name being used, but the logins were still not shared. When I switched between bbpress/wpmu, I got logged out from the application which was the last to be logged in to.
Interestingly, there is another hashlike string behind the user name in the value of the cookie. Like this: “admin%[bunch of letters and numbers]” This hashlike sting is different between wpmu and bbpress. Even for the same user.
I would guess that means that some hashgenerating constant is off, but I do not know which one. I synched those with their bbpress equivalents: AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY, AUTH_SALT, LOGGED_IN_SALT, SECURE_AUTH_SALT.
For AUTH_SALT, LOGGED_IN_SALT and SECURE_AUTH_SALT I did use the values from the wp-config.php because I could not find them in the WPMU admin interface. I guess that’s a difference between WP and WPMU?
What am I missing?
Strange… The boxes are rounded for me…
dbosch: you can always upgrade. You just can’t downgrade.
Noticed one little weirdness that most people wouldn’t ever run into. If you go to edit a post, the boxes are not rounded like everywhere else. This is with FF 3.0.10 on Windows XP.
http://www.chrishajer.com/bbpress/edit.png
Other than that, things look great. Thank you.
Hi Florian,
there was no problem with “Forum could not be created” in my case.
Manoj Kumar in BuddyPress forum helped me with this problem, here is the solution:
1. Delete all tables created by bbPress from your database
2. Install bbPress without integration with wordpress
3. Login with Key Master
4. Go to admin tab
5. Do wordpress integration
here is the link
Sounds like you have a separate database for WordPress and bbPress? The message says there is no wp_users table in the bbp01 database. Did you use separate databases or the same one for bbPress and WordPress?
where can I find bb_meta. I don’t see functions.bb_meta.php in bb-includes directory.
Yhx
bbPress database error: [Table ‘andreame_bbp01.wp_users’ doesn’t exist]
SELECT ID FROM wp_users WHERE user_login = ‘admin’
I tried following the integration steps properly.
WordPress Version: 2.6.5
BBpress Version: 0.9.0.4
My Regular WordPress login works.
If integration was successful wouldn’t it be the same login information for the BBpress?
How can i fix this?
You have to tell bb, when you set it up, where wp is
Default assumption is that it’s the same folder. You’re going to need phpMyAdmin or something to fix it.
Go into your XXX_forum database and open up the bb_meta
table.
Look for:
user_bbdb_name
user_bbdb_user
user_bbdb_password
The first one is the NAME of your WordPress database (so XXX_wrdp1
), the second is the ID used to access said database (sounds like XXX_wrdp1
from your post) and the third is (heh) your password for that ID.
Set those up to point to WP and you should be able to log in.
Yes, the database for wordpress is XXX_wrdp1 . Could you please tell me what is the most graceful way of fixing it? I don’t want to affect my operational site on wordpress, just want to integrate BBpress with it.
Thanks in advance.
It looks like you have separate databases for your forum and blog. Do you also have an XXX_blog or XXX_wordpress database?
Hey,
I think I had the same problem. Did you get the message “Forum could not be created” when you chose a new username?
I just installed without integration and integrated afterwards. This killed my admin access, but I could restore it with the plugin which was mentioned in some of the sticky threads.
Both installs now successfully share the user database, but I am still fighting with cookie integration… *sigh*
Greetings,
Florian
Hi
I am running WP 2.7.1 and bbPress 0.9.4 and have completed “deep” integration of the two (cookies, logins, users, wp functions).
A major component I use is a WP Plugin called “Featured Content Gallery” and I am trying to fuse it into bbPress. I have added the code and it *half works*. That is; none of the images, nor the description appear but oddly enough the title shows.
My question is then, has anyone actually done this? If so how OR Is it even possible?
Hey,
I’ve a problem with bbPress integration with WPMU. All installation steps going fine. I enter cookie integration fields, the same database, use default prefix’es, but nothing solves the problem.
In 3 step of bbPress installation when I enter existing user “admin” in key master field it shows me an error – “The key master could not be created. An existing user was found with that user login.”. But even if I choose new user, forum installation ends fine but when trying to login, it redirects me to install wizard once again.
With single install (without integration) bbPress works fine.
I have a functionla site at http://www.theindiansabroad.com using WP 2.7.1
Today I downloaded installed bbpress under http://www.theindiansabroad.com/forum and i was able to login and I received email with user and pwd info. as expected after the account was set.
The problem started right after I integrated bb to WP . I can login to wp but when I try to go to bb (/forum), it gives me a weird error at the top left corner. If I try to recover the pwd, it says email sent but I receive nothing…basically I cannot login.
The error format is
bbPress database error: [Table ‘XXX_forum.wp_users’ doesn’t exist]
SELECT ID FROM wp_users WHERE user_login = ‘host’
bbPress database error: [Table ‘XXX_forum.wp_users’ doesn’t exist]
SELECT * FROM wp_users WHERE user_login = ‘host’
The XXX_forum is my database and user name (and it is not wp_forum). the user name was host before the inegration. I cannot change my firsr part of database or username in MYSQL (from XXX to wp) as it is assigned by my hosting (justhost.com) company.
Could you please tell me how to fix this.
Thanks.
frooyo, mine doesn’t look like that at all (my admin panel alignment is fine). Did you change the /bb-admin/style.css
file?
This plugin helps restore keymaster access for bbPress:
https://bbpress.org/plugins/topic/fix-admin-access/
Not sure if it helps at all for WordPress… did you lose access to your blog or your boards?
if I install this wil i be able to upgrade to stable version1 after?
frooyo, you should put your themes in /my-templates/ not in /bb-templates/. This helps with upgrades.
I was not aware that there was a problem with the cookies. Currently, I have to login to each separately. The bbPress db shows a link to the wp user tables. Whenever I change any of the settings in the WordPress Integration, none of my users are recognized. Thanks for backups!!
The WP and bbPress integration is implemented on my company intranet that I am building.
Yes, it was the MCBS problem, _ck_.
Great news on the RC1 release!
Hi,
I am having an issue with the bbPress Attachments plugin and Pretty permalink type, I have activated the name based pretty permalink type and installed the bbPress Attachments – it’s all good until I try and download a document. The document will not download. Changing the permalink type to none – resolves the issue. Can this be fixed with an amend to the .htaccess file? If so could someone enlighten me as to what that amend might be?
Thanks
Glad to see this project going on. I really look forward to a final version 1.0