Skip to:
Content
Pages
Categories
Search
Top
Bottom

require_once( ‘path/to/wp-blog-header.php’ ); does not work! ERROR!

  • Hey guys,

    i’d love to integrate my bbpress ( http://www.stereopoly.de/forum ) into my wordpress ( http://www.stereopoly.de ), but when saying to fetch the wp-blog-header (even when taking an absolute link, my bbpress is completely giving up its job and says

    Failed opening required ‘http://www.stereopoly.de/wp-blog-header.php’

    this is what my bbpress’ config.php last lines look like:

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( 'http://www.stereopoly.de/wp-config.php' );
    require_once( 'http://www.stereopoly.de/wp-blog-header.php' );
    require_once( BBPATH . 'bb-settings.php' );

    ?>

    can anyone please help!?

Viewing 3 replies - 1 through 3 (of 3 total)

  • chrishajer
    Participant

    @chrishajer

    I believe you should be using a filesystem path, not a URL. Something like:

    require_once( '../wp-config.php' ); if wp-config.php is one level up from your forum directory.

    I have no idea if that will work, but I’m pretty sure you need to load it from the filesystem not over http.

    i’ve tried it and the error is changing:

    Fatal error: Cannot redeclare class streamreader in /homepages/14/d166908482/htdocs/stereopoly/forum/bb-includes/streams.php on line 26


    chrishajer
    Participant

    @chrishajer

    I believe this new error has to do with translations when you try to combine WordPress and bbPress:

    wordpress integrate problem when enable BBLANG

    Searching these forums for streamreader turns up lots of similar error messages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar