So i see there are two versions of this software, a plugin and stand alone version. I guess im wondering if both will continue to be supported or are they moving in one direction?
Also, is there any plan to create importing options for those who have phpbb or vbulletin forums and want to transfer to bbpress?
thx
Just when I was ready to throw in the towel for the weekend!
I just attempted to do a perfectly clean upgrade: still getting the db connection issue after bb upgrade tells me I need to upgrade my DB. These are my only instructions: https://bbpress.org/documentation/upgrading/
Chris – I do have a solid / tested 0.9 backup. That’s where I was headed before checking the boards one last time. I’m installing this on a test sub-domain of my production website – so no LAMP. I use the Media Temple Grid Server (poor man’s server) and have scoured the other Media Temple quirkiness posts here. I tried hard-coding the db host https://bbpress.org/forums/topic/mysql_connect-cant-connect-through-socket with no luck.
Regarding the 0.9 bb-config…I did find some remnants of a WP integration attempt (keys and whatnot). But, because my 1.0.2 upgrade ‘overlays’ the old bb-config – I’m starting with a new, clean (non integrated) bb-config doc. My problem is that, I can’t get to Step #2 of the install – that’s where I hit the db connection issue every time.
I’ve gone through the bb-config doc, and the DB host / user / pw settings a million times. I’ve updated all my schemas to UTF8 and the UTF8 charset – and I’m applying those config settings into my bb-config. Nothing works.
I’d like to blast my tables too…but that feels pretty invasive to me. A real test of my backup / recover abilities. I may not have the legs to get it done today.
Thanks as always for any help.
The renaming of the directory only come into play when you have an existing installation, and you change that folder name (some people install in http://www.example.com/bbpress/ and then realize later that path is accessible on visible, so they change it to “forum” or “discussion” or “community” or whatever.) The problem is, that folder name was stored in the database as part of the site URI (I think) so you are unable to access the forum in the new folder, since the database thinks the installation is somewhere else (original location.)
You can override the site URI in the bb-config.php (it’s not there in the 1.0 bb-config.php, but it is there in the 0.9 and earlier config, I think):
$bb->uri = 'http://www.example.com/forum/' (or change forum to the folder name that exists in your database. This line in bb-config.php will override the database.)
Also, it’s worth looking at the changes between bb-config.php from the 0.9 version to the 1.0 version. I have noticed with WordPress that even though you upgrade several times, you are left with the old existing wp-config.php and missing out on all sorts of stuff (like the security keys and cookie stuff from 2.7). Worth a shot to try your old database connection details in the bb-config-sample.php and see how it goes.
Also, is this a LAMP setup with PHP5, Apache, Linux, etc or is it OSX or Windows? Or localhost? Most installations are on LAMP so that’s the most likely help to find here.
Here’s the next bit of oddness – stuff that I cannot explain. It seems that something is wonky with my directory / file path on the server.
My original install was mywebsite.com/forum (and from there /bb-admin/upgrade.php etc)
When I dumped the new 1.0.2 files onto the server…I left it as ‘forum’ no changes (but with all the errors described above).
I saw a post on the boards here that said when they changed the name of the directory from ‘bbpress’ it wouldn’t allow them to login, and solving it was only renaming the directory back to ‘bbpress.’
So – I decided to name my directory ‘bbpress’…and when I re-ran the upgrade script (which should be looking at /bbpress/bb-admin/upgrade.php) it gives me an error saying “this link is broken” and says the link the “Upgrade Database” button is linking to is /forums/bb-admin/upgrade.php
What am I doing wrong?
Did a new file copy to the server and stayed with bbpress as folder name, seems to work now!
Thanks with helping me out!
Plugins and themes for bbPress. WordPress doesn’t matter at this stage of installation.
Are you installing bbPress as a WordPress plugin? bbPress is not a WordPress plugin.
Please provide the link to where you downloaded the files.
You can get a zipped version here:
https://trac.bbpress.org/changeset/2401/trunk?old_path=%2F&format=zip
Or you can check out the latest via subversion:
svn co http://svn.automattic.com/bbpress/trunk/ .
Either of those two methods will get you the latest trunk (development) version.
I downloaded the latest stable version right here. And I didn’t do anything about it, only changed the name of the folder bbPress to forum.
Do you mean themes and plugins for WordPress or bbPress?
Where do we find latest dev version for those of us on localhosts?
I don’t recommend editing core bbPress files. This is fixed in the latest development version already as well.
For running on localhost
Somewhere around line 25 of bb-load.php there should be a line that starts with error_reporting(. Change it to error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING);
Okay – here is my resolution. It only took me a weekend to figure this out.
Media Temple’s default DB CHARSET / COLLATE settings are ‘latin1’ and ‘latin1_swedish_ci’ for WHATEVER reason…
The bbPress db client connection is using UTF8 – which is why I kept getting the database error.
I used this command (because the knowledge base article in MT is incorrect) to update my CHARSET and COLLATE settings for my DB:
ALTER DATABASE db12345_wp CHARACTER SET utf8 COLLATE utf8_general_ci;
That allowed me to finish the upgrade.php script.
Hope this helps someone in the future.
bforeste
When I want to install bbPress I get this message:
Parse error: syntax error, unexpected ‘<‘ in …../……/……../public_html/forum/bb-includes/backpress/class.wp-error.php on line 205
So I can’t installe bbPress. What can I do about it?
Alex’s SVN links here:
https://plugins.trac.wordpress.org/browser/wordpress-mobile-edition/trunk/wp-mobile.php
Lines 17 and 18 mention a GPL license:
17 // Released under the GPL license
18 // http://www.opensource.org/licenses/gpl-license.php
So you should definitely be able to release this plugin as a derivative work. Good thing too, b/c I’d love to use it!
@BerryReview I’d love to use that plugin if available, I don’t mind editing the codes at all.
I tested your page with this website http://iphonetester.com/ and it’s looking good.
Good work, man!
Just installed WP 2.92 and Buddypress 1.2.1 on my dedicated Linux host @ 1and1.com. I literally:
installed
upgraded to 2.92
updated permalinks to non-default settings
downloaded/activated BuddyPress
Activated BuddyPress Theme/Uploaded Header
Initiated Forums (bbpress) Installation (went smoothly)
When I visit either http://www.kdjn.net/forums or http://www.kdjn.net/wp-content/plugins/buddypress/bp-forums , I get a blank page and nothing else. No errors, no administration page, no login prompt.. just the white page. Can anyone throw me a bone?
Thanks in advance-
Eric
Wow quick response! My man… THANK YOU THANK YOU AND THANK YOU AGAIN!
It works flawless!! Dude you’re the shizznit, there’s nothing more I can say. Hahah.
Thanks again
Sounds like you’re using WAMP or XAMPP with version 5.3.1 PHP? Those are not really errors but warnings.
errored when installed
If you can’t downgrade PHP, you can modify your PHP error reporting:
http://us2.php.net/manual/en/function.error-reporting.php
Hey you guys,
So I have a fresh install of BBpress with WordPress. This is my first time using BBpress…
So I have a few errors on top and I don’t really know how to get rid of ’em. Can somebody please
help me out? Here’s the link: http://www.urbanstart.nl/forum/
Errors:
Deprecated: Assigning the return value of new by reference is deprecated in /customers/…/forum/bb-settings.php on line 186
Deprecated: Assigning the return value of new by reference is deprecated in /customers/…/forum/bb-includes/backpress/functions.wp-object-cache.php on line 108
Deprecated: Assigning the return value of new by reference is deprecated in /customers/…/forum/bb-includes/backpress/pomo/mo.php on line 171
Deprecated: Assigning the return value of new by reference is deprecated in /customers/…/forum/bb-includes/functions.bb-l10n.php on line 484
Deprecated: Assigning the return value of new by reference is deprecated in /customers/…/forum/bb-includes/backpress/class.wp-taxonomy.php on line 581
Thanks in advance ^^
Hi Ashfame, great tutorial but before I go ahead and install bbPress using your method, is it really necessary to change the DB prefixes?
Thanks,
Gene
Well, aren’t I an idiot. bbpress is not a real plugin to WordPress! I saw that someone had used bbpress on their WordPress site and jumped right on it. I guess I will go back to the ever so slow VastHTML forum plugin.
Do you have access to your database? If yes, then create a new user which you want to be the admin. Then open your database through phpMyAdmin and open the database used in your bbPress install. A lot of tables would load in the left, click on the box like thing in the left of bb_users (or TABLEPREFIXusers), see the user you just created and note the ID in the left of it. Next, click the box in the left of bb_usermeta and then in the above part of right, click the SQL tab. In the textbox that appears, paste this:
UPDATE bb_usermeta
SET meta_value = ‘a:1:{s:9:”keymaster”;b:1;}’
WHERE user_id = ‘%%USERID%%’ AND meta_key = ‘bb_capabilities’`
Don’t forget to replace %%USERID%% with the id you noted down before.
Recently I’ve installed the the mass delete plugin.. but by mistake I delete my admin account.
Now there is no email or user name of my admin.. And I cannot go to my admin panel.
How can i recover my admin account?
I don’t want to reinstall bbpress
Thanks