Info
- 3 posts
- 2 voices
- Started 5 years ago by hanbit
- Latest reply from hanbit
- This topic is not a support question
hlep me ahout bbpress use WP's theme!
-
- Posted 5 years ago #
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 -
- Posted 5 years ago #
open_basedir restriction in effect, most likely your path to "wp-blog-header.php" is not correct.
-
- Posted 5 years ago #
thank you for you reply
but i check many times the path of "wp-blog-header.php" is correct. -
You must log in to post.