Info
- 4 posts
- 3 voices
- Started 4 years ago by andajus
- Latest reply from bigmumu
- This topic is resolved
Error integrating WordPress functions
-
- Posted 4 years ago #
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 12It 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 4 years ago #
Did you actually use the line
path/to/wp-blog-header.phpor 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 4 years ago #
Thanks, now that makes sense. One day learning bbpress and wordpress and it's all working wonderfully - Great packages!
-
- Posted 4 years ago #
Nice to see it solved ...
-
You must log in to post.