Forum Replies Created
-
In reply to: 404 Error new install
.htaccess probably just needs to be 0644 permissions (-rw-r–r–). Did you set up permalinks with rewrite rules as described here? bbPress does not write the .htaccess file in the same way that WordPress does (i.e. when you change WordPress permalink settings, it changes or creates the .htaccess file for you, with the proper rules.)
https://bbpress.org/documentation/faq/#pretty-permalinks
Update: it looks like you are installing again? This page gives a 404:
http://www.greenfitnessworld.com/bbpress/
This page shows that installation is not complete:
http://www.greenfitnessworld.com/forum/
Once your installation is complete, you’re going to want to go here to create the rules which you will paste into .htaccess: http://www.greenfitnessworld.com/forum/bb-admin/rewrite-rules.php
In reply to: forum RSS feed – wordpress widget – not up to date@Ipstenu, that’s true. But integration working or not doesn’t have any bearing on whether or not the date in the RSS feed is incorrectly formatted, does it?
In reply to: Search doesn’t use tags, nor headlinesStarting with what revision or alpha version, Sam?
I think it looks nice. However, I rarely comment on a screenshot. It’s easier to use it for a few minutes then make comments on usability and design cohesiveness.
In reply to: Which Version Should I use?1.0-Alpha-4
https://bbpress.org/download/#bbfooter
That’s an alpha version, not suitable for a production site, but that’s the version that’s compatible with WordPress 2.7. I’m not recommending you use it, but that’s the version that’s compatible.
Watch this before attempting integration:
https://bbpress.org/forums/topic/basic-integration-screencast
I think it’s cool that the index and the mini-plugin can improve on bbPress, but “severe performance issues” to me is not going from 0.0920 to 0.0005 seconds. That’s from 1/10 of a second to nearly nothing. But 1/10 second was “severe performance issues”?
Or, does this query from _ck_ just show a way to measure the improvement, where in actual usage, someone with 10K topics or 42K topics would see a performance hit (delay) much different than the test query that _ck_ posted. I’m all for improving what can be improved, but there are much larger issues to worry about than something that is taking 1/10th of a second. With bandwidth and browsers being what they are, the page isn’t going to load that quickly anyway, and adding 1/10 of a second to the processing time is not going to be noticeable to me.
With 615 topics, .0095 vs .0044 (~twice as fast). This is MySQL 4.0.27.
So long as it doesn’t kill anything (error out), I’m fine with installing it. I can wait for the performance improvements (if there will be any.) My forum has only 600 or so topics right now.
What versions will that work on, _ck_?
In reply to: Reply to Topic Link Not WorkingThe changes you made might not have been major, but one of them is apparently critical. I would compare one template file, between the original and your modified version, and see what’s different.
Also, what version bbPress are you using, and is in integrated with a version of WordPress? Do you have any plugins installed that could be causing this?
In reply to: bbpress INSIDE theme?There’s no simple way to do what you are asking. bbPress is not a plugin for WordPress, it’s a standalone forum. You can find themes for WordPress and bbPress that are similar, but in most cases, if you have a custom WordPress theme, you will probably have to customize a theme for bbPress to match it.
You might want to browse the integration tag at this forum:
https://bbpress.org/forums/tags/integration
And you can also see some bbPress themes here:
http://bbshowcase.org/forums/forum/bbpress-templates
Looks to me like you’re using the Revolution Lifestyle theme. Brian Gardner recently mentioned making a bbPress theme in 2009, and I thought there was a revolution theme for bbPress as well (maybe not lifestyle, but there was one.)
Ah, Revolution Magazine:
http://www.briangardner.com/blog/revolution-finally-meets-bbpress.htm
In reply to: language filesI think you pick an English .pot file from here (depending on your version) then you translate it into your language and save the mo file.
In reply to: No topics shows up after installationWas it fine for a while, then all of the sudden stopped working? What changed in your setup, if anything?
In reply to: bbPress 1.0-alpha-4 released@JesperA – what type of hosting setup are you using? PHP, MySQL, Apache versions, Windows/OSX/Linux, etc. There is something weird on some setups, for sure.
Have you tried coding the whole path to wp-blog-header.php, rather than the relative ../ path to it? I think I’ve seen that help in the past.
In reply to: Question about “Anyone can register”If you want bbPress users but not blog users, why integrate? Without integration, wouldn’t people be able to register at bbPress but get nothing at the blog?
In reply to: Can’t login to my siteDid you delete the database tables as well?
In reply to: Basic integration screencastI just watched the basic integration screencast and tried integration again. I ran into some of the same problems mentioned above so I did a little testing.
1. Sam, thanks for the screencast.
2. Using a subdirectory of forums, and then making a WordPress Page called “Forums” with a slug of “forums” works just fine. The page will show up in your WordPress page menu like any other Page, but the real ‘forums’ subdirectory you installed bbPress into is what is displayed to visitors, NOT the content of the WordPress Page called “Forums.” I used to install a redirect plugin at WordPress to redirect the “Forums” Page to the http://example.com/forums/ real subdirectory, but I guess this works just fine like this. Good to know.
3. When using PHP4 (4.4.9) I encountered the “Forum could not be created!” error mentioned above. I thought it was possibly the MySQL version (which was 4.0.27 I believe) but it turned out that by using PHP5 (5.2.6) it installed fine, into the same database. I added this to my .htaccess file in the site root (for WordPress and bbPress):
AddType x-mapp-php5 .php
That forced .php files to be processed as PHP5. I did that before installing WordPress. I confirmed with phpinfo that PHP5 was being used for both the blog and the forum. The 2nd time through (actually, the 3rd time, but that’s a different story), using PHP5, the forum was created properly.
After that, following the screencast pretty closely resulted in an installation where I can log in as Admin (key master) at either bbPress or WordPress, and I am logged in on the other side, as expected. Logging out of one logs me out of both. It’s what I expect user integration to be.
Waiting for the next screencast, Sam. Thanks.
p.s. Did I miss it, or is the NONCE key for bbPress never set in the video? I have one in wp-config.php, since the keys were generated by the WordPress.org API, but did I miss setting that in bbPress? Should I just make it the same as it is in bbPress? Will not having it prevent me from administering the forum or something? I didn’t test any functionality of the forum, just the logins.
In reply to: Can’t login to my siteWarning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /nfs/c03/h04/mnt/57391/domains/willclan4food.net/html/bbpress/bb-includes/backpress/class.bpdb.php on line 123
I just got this same error on installation of Alpha 4 with WordPress 2.7 integration. I caused it by being logged out of WordPress when I clicked the link to my wp-admin/options.php that was displayed by bbPress (the one where bbPress tells you to look for the salts in the WP admin area.) In Sam’s screencast, he was logged in, so clicking the link just brought up the options page straight away.
Anyway, I was logged out of WordPress at that step, and when I clicked the link, I got the WordPress admin login, with a redirect URL that looked like this:
http://example.com/wp-login.php?redirect_to=http%3A%2F%2Fexample.com%2Fforums%2Fbb-admin%2Finstall.php%3Fstep%3D2
So, when I logged in, instead of redirecting me upon login to http://example.com/wp-admin/options.php, it redirected me to step 2 in the bbPress install. After that, I got the same exact error as you did. In fact, there were a couple more too.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /home/example/forums/bb-includes/backpress/class.bpdb.php on line 123
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/example/forums/bb-includes/backpress/class.bpdb.php on line 377
Warning: Cannot modify header information - headers already sent by (output started at /home/example/forums/bb-includes/backpress/class.bpdb.php:123) in /home/example/forums/bb-includes/functions.bb-core.php on line 842I ended up reinstalling since I was not confident in the installation at that point and didn’t want to take any chances at something not being set properly.
In reply to: Can’t login to my siteHow about undoing what you did and see if it works again? Sounds like whatever you did broke it somehow.
What are “both” bbPress plugins for WordPress?
In reply to: Fatal error: Allowed Memory SizeWhat do you have to do to get that error? What is causing PHP to run out of memory?
If I had to guess without knowing more, I would guess this error is being caused by a plugin. What plugins are installed, and what version are we talking about?
In reply to: Can’t login to my siteDo you always get that database connection error when accessing the forum, or was that only during the installation?
In reply to: bb-ratings doesn’t workI see you’ve already asked here which is the proper location:
In reply to: language filesIn reply to: Search doesn’t use tags, nor headlinesThere was a recent discussion about how awful search is:
https://bbpress.org/forums/topic/advanced-search-options-where-and-what-are-they
There was also an unrelated discussion that became related to search (at WordPress.org and bbPress.org):
http://weblogtoolscollection.com/archives/2008/12/24/wordpress-forum-user-guide/#comments