Search Results for 'bbpress'
-
Search Results
-
I know my config file is right and the database name, user and password are ok. I installed WordPress no problem.
when I go to /bbpress , I get the inital screen where you enter the details but as soon as I went to step 2 I just got a blank screen. As soon as there is a config file I get nothing !!.
I’ve looked in the errors and I see “open_basedir restriction in effect. File(/bb-includes/db.php) is not within the allowed path(s):”
Is open_basedir the problem?
Thanks
Hi there i just installed bbpress 1.0-alpha with wordpress 2.7 everything went great untill i started creating useres.
If you go under admin to the user edit profile page i get this error under user type
Warning:array_key_exists() [function.array-key-exists]: the second argument should be an array or an object in functions-bb-template.php on line 2021 >Key Master
Warning:array_key_exists() [function.array-key-exists]: the second argument should be an array or an object in functions-bb-template.php on line 2021 >Administrator
Warning:array_key_exists() [function.array-key-exists]: the second argument should be an array or an object in functions-bb-template.php on line 2021 >Moderator
Warning:array_key_exists() [function.array-key-exists]: the second argument should be an array or an object in functions-bb-template.php on line 2021 >Member
and so on for all user types
this is what i got from line 2021 in functions-bb-template.php
<option value=”<?php echo $r; ?>”<?php if ( array_key_exists($r, $user->capabilities) ) echo ‘ selected=”selected”‘; ?>><?php echo $n; ?></option>
with this error only admin can post comments all other users i guess dont have a type assigned because of this error
wordpress and bbpress our using the same data base, i can login to wordpress and go to bbpress and still be loged in so i know that part works just something with transferring the user type is not working.
Any help would be greatly appreciated
You might want to create a static page outside of your bbPress installation that still uses the matching header and footer you have in bbPress. Well it’s very easy.
Make yourself a directory above bbPress with any name you’d like, let’s say “/about/”
In “/about/” make an
index.phpwith this content:<?php
require('../forums/bb-load.php'); // change /forums/ to your actual forum path
add_action('bb_head','about_css');
include(bb_get_active_theme_uri()."header.php");
function about_css() { // put any custom CSS you want in here
echo '<style>
img {border:0;}
</style>';
}
?>
<h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a> » About</h3>
<h2>About</h2>
Your "about" text goes here!
<?php include(bb_get_active_theme_uri()."/footer.php"); ?>
Hosting123456htmlgodaddytesttest.txt) [function.fopen]: failed to open stream: Permission denied in
Half the results but it actually could solve the 404 problem.