bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Function integration problem

(4 posts)
  • Started 1 year ago by emildorbell
  • Latest reply from emildorbell
  • This topic is not resolved
  1. "bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once('path/to/wp-blog-header.php'); in bbPress’ config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file)."

    Just uploaded bbpress and tried doing this on http://www.ceciliabjerling.com/wordpress/forum/

    You can see the error message there and perhaps tell me what I'm doing wrong.

    I changed

    require_once( BBPATH . 'bb-settings.php' );

    to the path where my wp-blog-header.php is

    Posted 1 year ago #
  2. I think that you need need to require bb-settings.php, too. However, that doesn't explain your error messages. The //../ part is odd. What if you try an absolute path? E.g.

    require_once( '/home/ceciliabjerling.com/www/wordpress/wp-blog-header.php' );
    Posted 1 year ago #
  3. You certainly need an absolute path like GTim said. Now your forum seems to work, how'd you get it to be so?
    I should also say that in my config.php I have the path to wordpress' wp-config.php, nothing else.

    Posted 1 year ago #
  4. I put an absolute path and it worked! I haven't really gotten into the integration part yet, but are you saying I should put wp-config.php in require_once? Just trying to follow the documentation over here and it's a bit difficult to understand.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.