if you comment out the line near the bottom for loading both wp and bb, it will fix this error… I have the same issue (plus other as detailed in another post)
define('WP_BB', true);, you still have to call the WordPress script yourself.
require_once('../wp-config.php'); (or whatever the right path is) in bbPress’ config.php.
I have had the same problem, but when i added the requireonce line. It could’nd find my path, and i’m sure it is the correct path with the proper permision.
Here is the error:
“Warning: main(PATHTO/wp-config.php) [function.main]: failed to open stream: No such file or directory in /SERVERPATHTO/forum/config.php on line XX
Fatal error: main() [function.require]: Failed opening required ‘PATHTO/wp-config.php’ (include_path=’.:’) in /SERVERPATHTO/forum/config.php on line XX”
GOT IT, GOT IT,
for some reason, it would’nt take my relitive path, it needs the FULL absalout path.