Forums

Join
bbPress Support ForumsInstallationFunction integration problem

Info

Function integration problem

  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

  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' );
  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.

  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.

  5. You must log in to post.