Hi. So, I’m a new bbPress user. I’ve been browsing around the forums and learning a lot the past couple weeks. I had a smooth time installing bbPress last week (haven’t integrated with WordPress, yet). The day after I launched our forum, and having added a couple topics, I started getting these errors on the topic pages:
____
Warning: include() [function.include]: Filename cannot be empty in /home4/zwfilmco/public_html/infusion5/forum/bb-includes/functions.bb-template.php on line 45
Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home4/zwfilmco/public_html/infusion5/forum/bb-includes/functions.bb-template.php on line 45
____
I’m clearly not familiar enough with bbPress yet to understand what’s going on. But I also don’t understand why it was working in the first place, and then after a day began to give these errors.
The only changes that I’ve made to any of the bbPress source files was the footer.php in the theme folder, to which I added a Google Analytics tracking script. Since having this error, I have replaced the footer.php file with the original.
Here’s one of the two topics currently on the forum: http://infusion5.com/forum/topic/businesses-in-colorado-springs-co
Thanks in advance for your support and guidance!
-Zach
I have a question about that tutorial…
At:
Step # 11
It says:
In your WP folder locate and open “wp-config.php” and leave it open. (done with Coda)
Go to this website: https://api.wordpress.org/secret-key/1.1/salt (been there before)
Select all and COPY the all information on that site. (easy)
Go to your wp-config.php file and highlight line 45 (it starts with define(‘AUTH_KEY’)) to line 48 (starts with define(‘NONCE_KEY’)) and PASTE the new keys. You basically change your 4 keys to 8 keys.
This one i’am not sure about,
When i installed WordPress i already went to that “secret-key/1.1/salt” page to generate a key for my WordPress site..
That Key is also listed in my wp-config.php file right now. Do i need to fill in a new (both the same) generated key to the wp-config.php and bb-config.php file or can i just use the same key that is already used by my WordPress site and that i listed in my wp-config.php file now?
Thank you..
I also found this site,
http://wpbbpthemes.org/integration/
Now i’m gonna try to complete my installations of that tutorial (WordPress is okay)
But somehow the bbPress will always get an error.
A look at the recently committed WordPress admin color scheme, included in the bbPress plugin.
Feedback encouraged.
What is the URL of your forum?
Are you using any plugins that would restrict access to certain topics or forums?
Are you integrated with WordPress?
Can your server send mail from other applications, like WordPress? What hosting environment are you using?
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in C:Program FilesVertrigoServwwwwordpressbbpressbb-includesbackpressclass.bp-sql-schema-parser.php on line 170
OS XP Pro
Vertrigoserv running Apache, Mysql, Php
I did not receive this error when installing WordPress.
I am using the WordPress database for the bbpress installation.
anyone run into this error before? And if so how did you fix it?
Thanks in advance!
Standing by…
bbpress and WordPress are two separate entites.
They can share a database, and tehy can share logins.
If you want to hack and force “deep integration” into your bbPress install then you should follow this guide:
http://wpbbpthemes.org/integration/
I just set up a bbPress forum with WordPress MU. However, after setting up the Role Maps and then enabled User integration, I got logged out and when I logged in with my WordPress Admin account, I noticed this account was not Keymaster.
Right now, I have no access to the bbPress admin section.
I tried this with three clean installations of bbPress and the same thing happened. I’m certain that the Role Map was set up correctly.
The Role Map database table says the following:
a:5:{s:13:”administrator”;s:9:”keymaster”;s:6:”editor”;s:9:”moderator”;s:6:”author”;s:6:”member”;s:11:”contributor”;s:6:”member”;s:10:”subscriber”;s:6:”member”;}
99/100 you just fill in the same thing.
Its only because thre is an option in wordpress to have wordpress in a sub folder but pretend to be in a higher up folder (via htaccess).
Hi there.
right, bbpress looks great and i managed to install and style it incredibly painlessly (i know html and CSS which helped, but still, nice, cheers).
When you enter a forum above the forum it starts listing the family of forum titles. The first being the main index, then the forum name you are in.
At the moment the index is called BBPRESS but I want to change that to Forum Index.
Where do i do this?
Cheers
Oh, i was a bit surprised there isn’t the option to manipulate the templates in the admin area like you can in WordPress. I managed it by downloading the files from my server, editing and uploading, but if it isn’t too much bother the Edit Template section of WordPress was a joy.
Okay i am installing bbPress and now i’am at step 2 the options/Cookies..
First i have to fill in the WordPress address (url) thats simple i guess thats just my http://www.domain.com
But at the second option the form asks my Blog address (url)
I think i has to be http://www.domain.com/blog
But i did also a fresh install of my WordPress site so there isn’t a blog yet. (only welcome page active)
What do i have to do, just fill in my domain only? without “blog” ??
Hi,
Thanks for the response.
I tried as suggested but I always get the post content of
First post W00t!
The topic_id passed is different each time, but it always returns the post content for topic id 1.
I’ve written a few WordPress plugins, but the lack of comments and documentation in the bbpress code is making it hard to work out what populates the global topics and posts variables.
How do I get a post given a topic ID ?
EDIT: Just worked out I need get_post_text( $post->post_id ) !
Thanks
Ian.
Okay thank you..
Some other question about this..
I did this tutorial to install a secure WordPress.
http://net.tutsplus.com/tutorials/wordpress/20-steps-to-a-flexible-and-secure-wordpress-installation/
And at step # 17 it makes/installs a sitemap.xml in the root. Will the pages of the bbPress also be included in the sitemap?
Or does that sitemap only stay on the WordPress side?
It means whole WordPress is loaded along with bbPress so that WP functions can be used for bringing the WordPress stuff inside bbPress (theme, sidebars, widgets etc)
Hello to all,
New member here..
I’am not a pro at coding but i know how to install WordPress and upload free theme’s and change the layouts with html and css. (design part)
But i’am getting better very day to understand more .php also.
But now i would like to make a forum behind my website (WordPress) that is simple for people like me to understand.
bbPress looks good for me, and i was searching around on this forum about bbPress and i have seen lots of time the term used by people “DEEP integration” what does it mean?
And what will be the different from just installing it?
Thanks.
BJ
What plugins *were* you running? Anything that affects permissions or making forums hidden or for moderation or anything like that? Did you map the roles between WordPress and bbPress (if you’re integrated)?
Looking at the theme files, the function pagelines_localize is only declared once, but with deep integration, it’s trying to be redeclared. So, wrapping the function in a conditional should work to prevent it from being declared again.
// LOCALIZE
if(!function_exists('pagelines_localize')) {
function pagelines_localize(){
// LOCALIZATION stuff
}
}
?>
Everyone,
For bbPress integrity and stellar bbPress forum support reasons, I’m going to mark this as “resolved,” then post again when the exact problem is truly resolved by the “paid theme” company.
Thank you.
You got it Chris!
HUGE help and about what I feared. Not slamming Pagelines, but you can see the issues on the forum you linked to above. They suggested deep integration issues, etc. only to realize they hadn’t given me the proper files to begin with. A lot of my time…poof!
Alright. I’m off. You have done more than enough and I will post such at the Pagelines forum.
The problem isn’t solved but you single-handedly zeroed in on it.
Cheers!
The problem here is that the WordPress theme is from Pagelines and the bbPress theme is too. It looks like both themes have a function called pagelines_localize() and when deep integrating, you get an error since the function name is already in use. The function name should be changed in bbPress probably, or removed (since you probably don’t need it in both places, when you are integrated.) Also, since these are paid themes from the same company, it seems like they should have already heard about this problem, but if not, should be willing to help resolve it.
Didn’t pagelines used to come around here? I remember their avatar I think.
https://bbpress.org/forums/profile/arpowers
haha:
http://www.pagelines.com/forum/topic.php?id=2243
Without being logged in, all you can see is the first post. But a search for pagelines_localize brings up that topic, with 4 voices and 11 posts. I think the support should be carried on there since it does not appear to be a problem with bbPress but with the Pagelines themes.
Will do, sir! From the WP globals.php file:
// LOCALIZE
function pagelines_localize(){
// LOCALIZATION – Needs to come after config_theme and before localized config files
define(‘TDOMAIN’, THEMENAME);
define(‘LANGUAGE_FOLDER’, TEMPLATEPATH.’/language’);
load_theme_textdomain(TDOMAIN, LANGUAGE_FOLDER );
$locale = get_locale();
$locale_file = TEMPLATEPATH . “/language/$locale.php”;
if ( is_readable( $locale_file ) )
require_once( $locale_file );
}
?>
pagelines_localize()
That’s coming from your theme. Try switching to the default WordPress theme and see if the error is still present.
I can’t download a copy of the Pagelines theme, so can you post the lines from about 50 to 65 in this file:
/wp-content/themes/iblogpro4_dev/core/globals.php
At least from line 53 to line 61, but I suspect there may be some conditional around it and need to see the whole context. If you want, you can email me that file at chrishajer [at] gmail [dot] com as well. Looks like you will need to try and declare that function only if it isn’t already declared. This would be a modification to the WordPress theme file.
But, try the default WordPress theme and see if integration works, or gives another type of error.
Kevin –
That seems to have done the trick! I just did a test registration on both Firefox and Safari and both seem to have gone through successfully. Thank you for pointing out the plugin! I had been searching for some time beforehand, and I would probably still be searching without your help.
Thanks again.
Hi Kevin,
Thank you for your prompt reply. I am using WordPress 3.0.1 and bbPress 1.0.2
I will look into your links now, and let you know how it works out.
Thanks again!