bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

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

(4 posts)
  • Started 9 months ago by stereopoly
  • Latest reply from chrishajer
  • This topic is not resolved
  1. 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!?

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

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

    Posted 9 months ago #
  4. I believe this new error has to do with translations when you try to combine WordPress and bbPress:

    http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-4746

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

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.