Forum Replies Created
-
In reply to: Log Out Redirect Error
Hey I apologize for that, I thought something went wrong with my browser.
Well I installed BuddyPress using the Combo Zip and I got all that problem. When I reinstalled using the trunk version, everything became alright but the login issue remains a problem.
It seems that the redirect code is not redirecting to the main blog and as I mentioned earlier. I am referring to the “Header” section of the “Home Theme”
I identified the code from the header. Here’s the code:
<?php if ( function_exists(‘wp_logout_url’) ) : ?>
/ ” alt=”<?php _e( ‘Log Out’, ‘buddypress’ ) ?>”><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php else : ?>
/ “><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php endif; ?>
Is it possible for someone to help me adjust this script so as to make it log out to the login page instead of a redirect? Although I wish that it would redirect to my main blog but I’ll settle for less. Help me look at a bigger picture here, I’ve installed everything and followed every possible instruction that I can find but help me understand what’s going on with this code and I’ll learn from it.
Thank you for your patience and understanding.
In reply to: Log Out Redirect ErrorEverything works perfectly but the Logout option. I can create blogs and all that.
I installed WordPressMU on a subdirectory.
Now I’m getting more errors for some reason maybe you might know what’s this:
Warning: ksort() expects parameter 1 to be array, null given in /blog/wp-content/mu-plugins/bp-core.php on line 1072
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /blog/wp-content/mu-plugins/bp-core.php on line 1075
# My Account
Warning: Invalid argument supplied for foreach() in /blog/wp-content/mu-plugins/bp-core/bp-core-adminbar.php on line 58
* Log Out
In reply to: Log Out Redirect ErrorHome theme, where the root of my blog is located, in fact the admin bar(drop down list [log out]) is also affected.
I got this result for both the log out links for the home theme and the admin bar:
You don’t have permission to access /blog/wp-login.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I attempted to replace the code for the admin bar and got the same result as how mdsports had. It didn’t redirect to my home blog page.
I downloaded the latest WordPressMU and BuddyPress(I used the beta link that was given)
Here’s the admin bar code which I identified:
// **** “Log In” and “Sign Up” links (Visible when not logged in) ********
function bp_adminbar_login_menu() {
if ( !is_user_logged_in() ) {
echo ‘<li class=”bp-login no-arrow”>‘ . __( ‘Log In’, ‘buddypress’ ) . ‘‘;
// Show “Sign Up” link if registrations are allowed
if ( get_site_option( ‘registration’ ) != ‘none’ ) {
echo ‘<li class=”bp-signup no-arrow”>‘ . __( ‘Sign Up’, ‘buddypress’ ) . ‘‘;
The Home theme header logout link(the one to the right) is also similar but I have no idea how PHP really works and I spent a few hours figuring out what the problem was but I’m interested to learn how these stuff works and I hope you guys can enlighten me.
In reply to: Log Out Redirect ErrorThis header logout link bug isn’t fixed yet. I downloaded the latest trunk. Any solution to this problem?