Error integrating WordPress functions
-
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 12
It 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?
- You must be logged in to reply to this topic.