Skip to:
Content
Pages
Categories
Search
Top
Bottom

hlep me ahout bbpress use WP’s theme!


  • hanbit
    Member

    @hanbit

    hi,everybody i install wordpress and bbpress successful

    the next i want to do is make bbpress use the wordpress’s theme

    first i edit config.php,

    add:

    require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);

    define(‘WP_BB’, true);

    for example

    <?php

    require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);

    define(‘WP_BB’, true);

    then , copy bb-templates/ directory to my-templates/

    edit my-templates/header.php

    add <?php get_header() ?> in it

    my-templates/foot.php

    add <?php get_foot() ?> in it

    but the appear some mistake

    the message :

    Warning: main() [function.main]: open_basedir restriction in effect. File(/domains/chinalin.org/public_html/wordpress/wp-

    blog-header.php) is not within the allowed path(s): (/home/kim/:/tmp:/var/www/:/usr/local/lib/php/:/etc/virtual/) in

    /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    Warning: main(/domains/chinalin.org/public_html/wordpress/wp-blog-header.php) [function.main]: failed to open stream:

    Operation not permitted in /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    Fatal error: main() [function.require]: Failed opening required ‘/domains/chinalin.org/public_html/wordpress/wp-blog-

    header.php’ (include_path=’.:/usr/local/lib/php’) in /home/myusername/public_html/wordpress/bbpress/config.php on line 2

    what else should i do ? please tell me the others setting .

    sorry for my bad english

    the wordpress is 2.0.5 ,bbpress is 0.73

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

  • Atsutane
    Member

    @atsutane

    open_basedir restriction in effect, most likely your path to “wp-blog-header.php” is not correct.


    hanbit
    Member

    @hanbit

    thank you for you reply

    but i check many times the path of “wp-blog-header.php” is correct.

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