require_once(dirname(dirname(__FILE__)) . '/wp-config.php');
in bbPress’ config.php.
Finally I use:
require_once(dirname(dirname(__FILE__)) . '/wp-blog-header.php'); because some functions don’t work properly with
require_once(dirname(dirname(__FILE__)) . ‘/wp-config.php’);
in bbPress’ config.php.”
So this as you are installing bbPress? or ?
Afther bbPress is installed, if you wish to use WordPress’ template tags, you will need to include a line like the above in bbPress’ config.php.
I have tried to add the above line to my install of bbpress and I get the following error:
Fatal error: Cannot redeclare allowed_tags() (previously declared in /home/taacus/public_html/wordpress/wp-includes/general-template.php:602) in /home/taacus/public_html/wordpress/bbpress/bb-includes/template-functions.php on line 949
What am I doing wrong?
abbaanthony, It looks like you’re using a copy of the code-in-development.
Try using the official bbPress release.
I am using the official release and still get that error. Have you fixed it?
Did something change in 0.74 in regards to the line needing added in the config.php