Weird, bizarre problem with requiring wp-blog-header.php
-
require_once(‘../wp-blog-header.php’); …With that I get no admin pages*.
require_once(‘../../wp-blog-header.php’); …With that I get no non-admin pages**.
WP 2.3.2, bbPress 0.8.3.1, both are very fresh, no hacks etc.
WP is at http://dencx/wp, bbPress is at http://dencx/wp/forum/. I’m developing locally, as you can see by the url’s.
$bb->uri = ‘http://dencx/wp/forum/’;
* = Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /Users/matth/Sites/dencx/wp/forum/config.php on line 2
Fatal error: require_once() [function.require]: Failed opening required ‘../wp-blog-header.php’ (include_path=’.:’) in /Users/matth/Sites/dencx/wp/forum/config.php on line 2
** = Warning: require_once(../../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /Users/matth/Sites/dencx/wp/forum/config.php on line 2
Fatal error: require_once() [function.require]: Failed opening required ‘../../wp-blog-header.php’ (include_path=’.:’) in /Users/matth/Sites/dencx/wp/forum/config.php on line 2
- You must be logged in to reply to this topic.