Search Results for 'test'
-
Search Results
-
I’ve tried installing bbPress 0.9.0.4 twice now, and with the same results both times. It installs, runs, lets me into the ACP to change things, etc. I add nothing more than a topic and a post, and get this for every link I select;
Not Found
The requested URL /topic/welcome-to-the-forum was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
It’s all in the DB, so what’s happening? Any help appreciated before I go mad (have tried 5 BB packages in 3 weeks trying to meet my users requirements).
[edit]
Aha! Found a post elsewhere about changing Pretty Permalinks, and that was what wrecked it. Should perhaps have some sort of internal test when you click the dropdown list..?
Oh, I checked my webserver’s log and found that my rather obsolete German translation is still downloaded frequently. So I decided to rework it for the latest stable bbPress 0.9.0.4.
You can download my language file on my German blog.
And now for the folks that understand German better than English:
Oha, ich habe einen Blick in die Logdateien meines Webservers geworfen und musste dabei feststellen, dass meine ziemlich veraltete deutsche Übersetzung immer noch häufig heruntergeladen wird. Deshalb habe ich meine Übersetzung für die aktuelle stabile Version 0.9.0.4 von bbPress überarbeitet.
Wer mag, kann meine Sprachdatei in meinem kleinen Blog herunterladen…
Today I installed the bbPress Attachments plugin, which seems to work well.
But then I tried to delete a topic, got a PHP header already sent error, and when I returned to the Front Page, in the Forums and Latest Discussions tables I no longer have the Topics & Posts counts in the Forums table, nor do I have the Posts, Last Poster and Freshness columns in the Latest Discussions.
I’m running .9.0.3.
Anyone have any ideas what might have happened and/or how I could resolve this?
Installation seemed to go perfectly. The forum was completely operable and Test Users registering through bbpress were created on the WP side. Unfortunately, I received errors trying to log into WP backend. Calling “myurl.com/wp-admin” resulted in a blank page with:
“Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/sitefolder/wp-config.php:80) in /home/user/public_html/sitefolder/wp-includes/pluggable.php on line 850”
In order to finally get back into my admin panel
I deleted all BB_tables from db – didn’t work.
Deleted all bbpress files – didn’t work.
Refreshed wp-includes folder and root wp files – worked.
Now I’m back to a WP site with no forum tables or software and will try again after work.
Any ideas what’s going on here?
For anyone having problems with WPMU integration with bbPress, make sure you have the latest (1.0-alpha-6) version of the bbPress Integration plugin.
This newer version of the plugin is compatible with bbPress 1.0-rc-1 and should give you better advice about what to manually insert into your WPMU wp-config.php
One of the users has set in WP a nickname in Cyrillic (which reads in place of the username in latin). In WP it shows up fine, however, when that user info read by BB it is displayed as ??????????. My guess is that it read from db utf8 but then it goes through single byte string function that kinda kills it. Any other parts of the posts, topics, body and such are read and displayed fine in Cyrillic. Thus it is my understanding that the user name gets de-utf8 somewhere in the process of maybe checking for its validity or something else.
The $collation_query is “SET NAMES ‘utf8’ COLLATE ‘utf8_general_ci'” in class.bpdb.php
Any idea where to start looking? I have what was the latest alpha.
What function reads users from WP db?
Trying to locate the file that has the routine that does msql_connect or _pconnect…
Today I did the reverse integration of an existing WordPress blog (2.7.1) and BBPress forum (0.9.4). I described my plans here. With some help from bobbyh and a lot of digging into these forums, things worked out well.
Here are the steps (all but the final 2 are database operations, which I did using phpMyAdmin):
- I didn’t need to do backups because I was using a test site, but if you are trying this, don’t go any further without full backups of everything.
- Copied the “bb_users” and “bb_usermeta” tables from the BBPress database to the WordPress database. I was a bit worried that the row sizes weren’t exactly the same in the destination copy, but as it turns out, that wasn’t an issue.
- Added a “user_activation_key” field to the copy of “bb_users” to ensure that the schema matched my current “wp-users” table in the WordPress database.
- Renamed the “wp_users” and “wp_usermeta” tables to “wp_users_old” and “wp_usermeta_old” respectively.
- Renamed the new “bb_users” and “bb_usermeta” tables to “wp_users” and “wp_usermeta” respectively.
- Added WordPress admin rights and metadata to the new admin user. To do this I ran the following query:
INSERT INTO wp_usermeta (user_id, meta_key, meta_value) VALUES (‘1’, ‘wp_capabilities’, ‘a:1:{s:13:”administrator”;b:1;}’);
- Added WordPress user metadata for the rest of the users (since I’m using the BBPress user tables as the starting point they know nothing about WP capabilities). Here is the query:
INSERT INTO wp_usermeta (user_id, meta_key, meta_value) SELECT user_id, ‘wp_capabilities’ AS meta_key, ‘a:1:{s:10:”subscriber”;b:1;}’ AS meta_value from wp_usermeta WHERE user_id NOT IN (SELECT user_id from wp_usermeta WHERE meta_key = ‘wp_capabilities’) GROUP BY user_id;
- Changed the user_id references in the “wp_posts” and “wp_comments” tables so that they pointed to the correct users (you need to do this because equivalent users don’t necessarily have the same ID in the previously separate WordPress and BBPress databases). Here are the queries I ran:
UPDATE wp_posts SET post_author=NEW_ID WHERE post_author = OLD_ID
UPDATE wp_comments SET user_id=NEW_ID WHERE user_id = OLD_ID
NOTE that you need to think carefully about the order in which you do these changes. You don’t want to change a user’s ID to one that already exists in the WordPress table.
- Installed superann’s plugin to downgrade WP 2.7.1’s cookie handling for compatibility with BBP 0.9.4: http://superann.com/2009/02/26/wordpress-26-27-bbpress-09-cookie-integration-plugin/
- Told BBPress to find its user data in the new WordPress user tables. This is done in the BBPress admin page for WordPress integration: […]/bb-admin/options-wordpress.php. You need to follow the instructions carefully. In particular, note that the WordPress database secret should be copied from the current WordPress setting and not vice versa.
Some other notes:
- This is not something to do in a rush. I checked the results of each step carefully before moving on. This included browsing the database and, later in the process, logging in to the blog and forum to check whether things were working as expected.
- This worked for me. Your mileage may vary.