Skip to:

Deep Integration; WordPress; bbPress; bb-config.php; Errors

  • Good News: WordPress operating successfully. bbPress forum operating successfully. “Integrated” (NOT “deep” integrated) bbPress and WordPress successfully.

    Bad News: 12 hours effort to “Deep Integrate” so WordPress theme can be used in bbPress, etc.

    The “require_once(dirname(__FILE__) . ‘/../wp-load.php’)” command line, when executed exactly as instructed inside the “bb-config.php” file (as shown by theme company, WordPress codex, bbPress Forum and Docs) brings up errors when the forum page tries to opens. Removed the Deep Integration code and the bbPress forum page pops back up.


    1. Databases are separate; but regular integration works fine.

    2. All kinds of advice to no avail (i.e. putting code at top of .php file, removing forward slash before root, etc. etc.

    3. Company programmers where I host did test on different server using basic WordPress and bbPress and attained exact same results. Not a directory issue, not a database issue, not a server issue. They also tried other methods/versions of the “require_once” code but kept getting same errors.

    4. WordPress and bbPress are latest versions. WordPress is the brand new 3.0.1…requires different/new “deep integration” coding?

    5. Basic integration works so the database/directory addresses are correct.

    I have searched the forum and internet for solutions, prior to adding this post/topic, to no avail. Blindness and insanity creeping in…probably not due to this issue.

    Thank you. Thank you. Thank you!


    The errors below are what we ALL are getting on our forum page(s) when attempting to Deep Integrate. (In the errors below “DBnumber” = “undisclosed database number” – AND – “websitename” = “undisclosed website name.”)


    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: require_once(0php’) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Fatal error: require_once() [function.require]: Failed opening required ‘0php’’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

Viewing 5 replies - 26 through 30 (of 30 total)

  • Ashish Kumar (Ashfame)


    You will need to do some stuff in the WordPress header.php file.

    Take a look here – (last section – WordPress theme editing)



    Yes I’ve followed that but I still am unable to get the title, the header menus or even the footer to appear on the page. You can check it out here. If you look at the main website you will see the header menu that should appear. I’ve made the adjustments to header.php as well as footer.php and the theme does change, it simply doesn’t add the title or the menu.



    I’m having trouble getting it to recognize the path to my wp-load.php file. I’ve tried many combinations but none seem to be found, they all end up in a warning atop the page, even tho they still load.



    It always seems to load homesite/community/wp-load.php instead of homesite/wp-load.php when you test it out. Any thoughts?



    What is the actual full path to wp-load.php, and what are you using in your require or include statement?

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