Skip to:
Content
Pages
Categories
Search
Top
Bottom

require_once(‘path/to/wp-blog-header.php’);


  • pulk99
    Member

    @pulk99

    at http://bbpress.org/documentation/integration-with-wordpress/ it says:

    bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).

    but if I do this, I can’t enter the admin area any more, cause, the relative path to the wp-blog-header.php isn’t right anymore. I can’t use the full url because of: URL file-access is disabled in the server configuration.

Viewing 2 replies - 1 through 2 (of 2 total)

  • Sam Bauers
    Participant

    @sambauers

    Put in the full path from the server root instead of the relative path.


    pulk99
    Member

    @pulk99

    oh, of course (how could I miss that?), thank you!

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