1.1-alpha (trunk) has this option since [2431]
I did a local installation of BBpress. After the installation procedure I get the following lines above the actual page:
Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-settings.php on line 186
Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108
Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpresspomomo.php on line 171
Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484
Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581
After login more errors follow, but no forum page
Found the problem after 4 hours!!! Gone through everything I could think of! My head is spinning now
It was something to do with the htaccess, had to change the whole thing!
I gone through lot of posts on the forum. I am quite shocked seeing how many people have problem to get the pretty permalink working properly.
I can only wish if the bbpress would have also working smoothly on pretty permalink issue like WP!!
I am experiencing a strange problem from today. The forum suddenly stopped working.
I haven’t done anything to the forum- no edit no new plugins.
The problem is – if you click on the topics or post names it doesn’t go anywhere. It stays on the forum home page. Although it shows the topics url on the browser address.
I already deactivated few plugins (although the forum was working fine with them) just to check, but it stays the same.
I am using bbPress v 0.9.0.6
Hybrid theme
I really don’tknow where shall I look at.
I would appreciate any input from anyone.
Thanks
What is the actual full path to wp-load.php, and what are you using in your require or include statement?
Good to know. I’ll keep that in mind. Thanks again.
Yeah the two common mistakes when editing PHP files is to mess up the closing or to put whitespace after the closing which then causes “headers already sent” error.
The new preferred technique is to leave the closing off altogether, because PHP doesn’t care and it prevents errors like that – which I will probably adopt in my future code for plugins etc.
Boy do I feel stupid! That’s exactly what it was, and I don’t know how it happened. I copied the sample config file and renamed it, then added the database information. But after you suggested it I opened the file in bluefish, went to the bottom and found that the end ?> was not colored. There was an extra ?> at the end of the file. And I can’t figure for the life of me how it got there. (Makes me wonder if after missing something so simple I should even attempt integration!)
Can’t thank you enough _ck_.
Sorry I missed this, anything that appears before all the headers is likely any other file you modified in bbpress startup process. Since the most likely file is bb-config.php which is often edited, you might have left two closing marks
?>
?>
So the first one closes that PHP file, the second one gets displayed as plain text before the header.
Ok, so I got impatient, dropped the database, removed bbPress from wordpress root, restarted my apache2 and mysql services, cleared the browser cache, closed the browser, created a new database, unzipped bbPress into the wordpress root, logged in as the new user, logged out, and after logging out that php end tag is back.
No plugins, no integration – no modifications of any kind, just out of the box bbPress. It’s a mystery to me.
It always seems to load homesite/community/wp-load.php instead of homesite/wp-load.php when you test it out. Any thoughts?
I’m having trouble getting it to recognize the path to my wp-load.php file. I’ve tried many combinations but none seem to be found, they all end up in a warning atop the page, even tho they still load.
Several days ago I did a new install of bbpress in my wordpress root on localhost/, checked it out and all looked fine. My intention is to work through the integration of wp and bbp, but I didn’t have time to work with it then, so I went back today to try it out and find that there’s a misplaced “?>” displaying at the top of every page – before the header. I also noticed that the footer on the Appearance page of the admin panel runs across the Kakumei-blue theme so that the activate link is inaccesible.
I’ve messed around with it for a few hours – saved my bb-config.php, deleted bbpress/ and replaced it from the zip; checked permissions; repaired my mysql database; restarted my apache2 and mysql services; checked the header.php; cleared my browser cache… I’m at a loss to understand this.
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>bbPress Bulletin Board</title>
<link rel="stylesheet" href="http://localhost/wordpress/bbpress/bb-templates/kakumei/style.css" type="text/css" />
<link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Posts” href=”http://localhost/wordpress/bbpress/rss.php” />
<link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Topics” href=”http://localhost/wordpress/bbpress/rss.php?topics=1″ />
<meta name=”generator” content=”bbPress 1.0.2″ />
</head>
I’m just short of removing the database and starting over, which would be the quick and easy way out, but I would like to figure it out for the heck of it. Any ideas will be appreciated.
I have had a wordpress website now for some time and think its amazing first off.
My website is a gaming website for online gaming of all kinds, I wanted to install a high end discussion board/forum and after trying out a few ‘simple to install’ ones I wanted to get bbpress.
I have followed this guide: http://www.wpwebhost.com/make-bbpress-theme-match-with-wordpress-by-deep-integration/ …Step by step as my knowledge of coding isnt that great.
After hours of trying I finally got everything working!!
The problem I am facing is now getting it to ‘Fit’ to my current theme. Atm it just looks like alot of misplaced writing etc.
I think it may have something to do with the theme editing as i wasnt 100% sure what to put in there. I replaced bb_get_header(); ?> for get_header(); ?> <div id=”content class=”narrowcolumn” role=”main” and like wise for the footer but not certain if it is the right layout for my theme
my website is http://www.prime-gaming.com
link to the bbress http://www.prime-gaming.com/Forum
Thanks in advance
ps. the first line echo is
echo “<tr><td> link of (bbpress/forum.php?id=”.$result->forum_id.”‘>”.$result->forum_name.”)</td>”;
I SOLVED put $result->posts. instead $result->forum_posts.
*****************************************************
Is it possible to improve this plugin a little bit as –
1. It will allow admin to post any clickable links(including outgoing) on the the topics
2. It will allow anyone to post clickable links ONLY when the link is from the same domain as the forum? (internal links)
To give an example, lets say this plugin is activated in bbpress.org.
A member post a topic saying
“Buy cheap Viagra from http://www.cheapest-vira-xyz.info” <– this link would be plain text.
“A member post a topic saying “Has any one got this working? https://bbpress.org/forums/topic/cant-switch-themes-in-081” <– this link would be clickable
again if any member post a topic saying “have you read this bbPress blog here ? https://www.bbpress.org/blog/latest/bla-bla-bla-bla” <– this link would be clickable as they are from the same domain as the forum
If the above functions can be implemented on this plugin, that would be a brilliant tool to put off most of the spammers.
******************************************************************
Any tips from anyone?
Huh. The post numbering did reset. That is strange.
What theme is that – I’d have to see the post.php to see what function they are using between <div class="postnumber"></div>
I see a few people using neoease for bbPress but I can’t find it anywhere? Where did you get it? Or is that inove with your own modifications?
It looks like I am missing something – when I changed post count on original thread from 81 to 80, all post numbers shifted and #24 is no longer missing. But anyway, I am OK with missing numbers, at least it lets people know where their posts are.
How can I check why my bbpress does not recount posts? Where is that function? I was messing around with some PHP and template codes (to ‘join’ forum to the page) so maybe I have done something…
you can try an experiment to change the 20 to 21 and/or the 80 to 81 (I see you deleted posts the so the 80 is now 69)
then do a bbpress recount
see if it changes or not
if it doesn’t change, try the manual way
if the manual works but bbpress does not, then there is a bug in how bbpress is doing it that is causing a silent error and it fails
the deleted post will always causing missing numbers
that is because in your template the number is based on post-position which is never updated
the important part is that the count changes from 21 to 20
the question is why when you run the direct recount within bbpress itself, it did not change that 81 to 80, but the manual query changes 21 to 20
if you want those numbers to be continous on the page, you’d have to change your template but it doesn’t affect how bbpress works
So here it is:
http://e-motion.lt/bbpress/topic/31?replies=20#post-317
I have deleted post #3 from database. Same problem:
#3 is missing and it shows post count of 21.
After running your query post count is now correct (20), but #3 is still being skipped.
OK, so I was going thru the database and saw that bbpress holds post count in it. I just changed that to correct value and it seems like everything is good now. And post #24 is no longer missing, posts have shifted per one place.
Thank you for your help.
Anyway now we have discovered one more bug to fix.
Thinking out loud here, don’t do anything yet on your own.
This is Sam’s new routine in 1.0.2 based on my alternate recount for bbpress 0.9
$sql = “INSERT INTO $bbdb->topics (topic_id, topic_posts)
(SELECT topic_id, COUNT(post_status) as topic_posts
FROM $bbdb->posts
WHERE post_status = ‘0’ GROUP BY topic_id)
ON DUPLICATE KEY UPDATE topic_posts = VALUES(topic_posts);
“;
I will investigate further…
Okay what is happening is that the new recount in bbpress 1.0.2 is failing.
It’s getting the correct number of posts, it’s just not updating the table.
I am investigating (while trying to do 3 other things right now, lol)