bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Error integrating WordPress functions

(4 posts)
  • Started 9 months ago by andajus
  • Latest reply from bigmumu
  • This topic is resolved
  1. andajus
    Member

    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?

    Posted 9 months ago #
  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.

    Posted 9 months ago #
  3. andajus
    Member

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

    Posted 9 months ago #
  4. Nice to see it solved ...

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.