Forums

Join
bbPress Support ForumsInstallationError integrating WordPress functions

Info

Error integrating WordPress functions

  1. When I add the line

    require_once('path/to/wp-blog-header.php');

    to my bbpress "config.php" file in order to give access to WordPress' functions: my forum doesn't load and I get the following message instead:

    Warning: require_once(path/to/wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/thewayev/public_html/forums/config.php on line 12
    Fatal error: require_once() [function.require]: Failed opening required 'path/to/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thewayev/public_html/forums/config.php on line 12

    It doesn't seem to matter what line I put the code on, and as far as I know I've carried out every other integration procedure listed with no problems. Does anyone know what I'm doing wrong?

  2. Did you actually use the line path/to/wp-blog-header.php or did you change it to the ACTUAL path to wp-blog-header.php? Something like /home/thewayev/public_html/wordpress/wp-blog-header.php.

    The "path/to/" part is illustrative and should be changed to your actual path for your installation.

  3. Thanks, now that makes sense. One day learning bbpress and wordpress and it's all working wonderfully - Great packages!

  4. Nice to see it solved ...

  5. You must log in to post.