Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • omosha
    Participant

    @omosha

    I FINALLY got it to work. Had to totally uninstall wordpress and start from scratch on setting up a mu site, but it works. My recommendation to anyone else who is encountering this error… Do not use the Buddypress theme template pack that automatically reorganized your theme. Just install Buddypress and then enable a buddypress compatible theme. If you use the template pack and then install and activate a compatible theme, things may go sideways.

    Remember, you can always start from scratch. Good luck. -B


    omosha
    Participant

    @omosha

    Fair enough, hnla. :) I’ve started a thread at: https://buddypress.org/community/groups/installing-buddypress/forum/topic/installing-on-a-secondary-subdomain-getting-permission-accesss-denial/?_wpnonce=7057b25869#post-80347

    but just wanted to chime in and say I was having the same problem. If I don’t get much traction with help on that separate thread, I’ll try posting the details here for the community to track. Thanks for the help. I still can’t seem to get this to function correctly and am considering scraping the site and starting over if I can’t fix this today. (It’s a new install with only a few pages so far)

    Just to add to this thread, here is the post I placed on the thread above:
    “Hey all,

    I’ve gotten this working before for a separate project, but am running into a little difficulty installing Buddypress on this new site. Wondering if someone can help out.

    I’ve followed the steps written at: https://codex.buddypress.org/getting-started/install-buddypress-on-a-secondary-blog/

    And am trying to install buddypress on a subdomain http://artambassador.net/artisthub (Blog id #5) but after I implement the htaccess redirect and the additional code to the wp-config.php file, I continue to get :
    ” Permission Denied
    Not Found / No Access

    The page you are looking for either does not exist, or you do not have the permissions to access it.”

    When I try an reinstall the plugin, that subdomain give me the message:
    “Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/gwenda/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:20) in /home/gwenda/public_html/wp-content/themes/bp-social/_inc/ajax.php on line 63”

    Does anyone have a sense of what may be going on and how I can fix this?

    (additional post)
    btw: I’m using bp-default theme and the switching it to bp-social from wpmudev group. Also, the problem began occurring after I used the Buddypress theme pack.

    The default pages that are associated with Buddypress do not appear to be there. Even when I create them by hand, the themes functions, i.e activity, does not appear on the page when it is manually created. (Just a standard page called activity) Just wanted to update the ticket and see if that helped.

    Thanks in advance for the help!”


    omosha
    Participant

    @omosha

    The default pages that are associated with Buddypress do not appear to be there. Even when I create them by hand, the themes functions, i.e activity, does not appear on the page when it is manually created. (Just a standard page called activity) Just wanted to update the ticket and see if that helped.


    omosha
    Participant

    @omosha

    I wish this fixed the issue. Still no resolution on my part and I’m running into the same issue as everyone else. Anyone with another suggestion?


    omosha
    Participant

    @omosha

    Whenever I post these, the collective seems to guide me to the answer. If you ever run into this problem, just use the buddypress compatible theme plugin and it will auto correct.

    Thanks you if you’re reading this, but it is resolved.

    Cheers.


    omosha
    Participant

    @omosha

    I think I have this resolved. It was a conflict between S2membership and how Buddypress were handling registration.

    Let me know if you run into the same problem. Happy to help.


    omosha
    Participant

    @omosha

    I’ve got an updated idea of what may be happening if someone could direct me further.

    O.K. when I use the buddypress admin bar up top to log-in or out, it takes me to http://integralbeings.com/community/wp-login.php? Which is incorrect. I think that this may be one of the main problems with Buddypress redirecting MU when new blogs attempt to register. It should go to http://integralbeings.com/wp-login.php?

    I’ve added:
    RedirectMatch 301 ^/members/(.*)$ http://integralbeings.com/community/members/$1
    RedirectMatch 301 ^/groups/(.*)$ http://integralbeings.com/community/groups/$1
    RedirectMatch 301 ^/blogs/(.*)$ http://integralbeings.com/community/blogs/$1
    RedirectMatch 301 ^/forums/(.*)$ http://integralbeings.com/community/forums/$1
    RedirectMatch 301 ^/activity/(.*)$ http://integralbeings.com/community/activity/$1

    to the htaccess file in order to redirect Buddypress to the secondary blog. Could this be the problem? Any thoughts to help me figure out this logic problem?

    Cheers,
    -Brant


    omosha
    Participant

    @omosha

    Yeah, I’m still getting the error message
    ‘Warning: Missing argument 5 for bp_core_fetch_avatar_filter() in /home/integral/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 479’

    and I’ve removed step 3 from https://codex.buddypress.org/getting-started/install-buddypress-on-a-secondary-blog/

    Have you ever run into this or have any idea how to fix?

    Thanks again for checking it out


    omosha
    Participant

    @omosha

    Thanks PCwriter! While I tried adding the code to the main site. It didn’t quite work out, but it put me on the right path. I just went through the code and removed the places where a{test-shadow…} was showing up and whola. I didn’t think the body container was governing the admin bar, but apparently it was.

    Thanks again, pcwriter!! I love this community!

    Cheers,
    -Brant


    omosha
    Participant

    @omosha

    I agree that I probably don’t need to add the avatar path since it’s a new install, I’m wondering why I’m getting the ‘/home/integral/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 479’ error code?

    Thanks for the reply.


    omosha
    Participant

    @omosha

    Thank you so much, Mercime! I’ve got most of it all installed with the exception of a few hiccups.

    I had a difficult time with the avatars even before this modification. I’m getting this error code
    ‘/home/integral/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 479’
    When I go into bp-core-avatars.php on line 479 I see this as the definition:
    ‘function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt ) {

    // If passed an object, assume $user->user_id
    if ( is_object( $user ) )
    $id = $user->user_id;

    // If passed a number, assume it was a $user_id
    else if ( is_numeric( $user ) )
    $id = $user;

    // If passed a string and that string returns a user, get the $id
    else if ( is_string( $user ) && ( $user_by_email = get_user_by_email( $user ) ) )
    $id = $user_by_email->ID;

    // If somehow $id hasn’t been assigned, return the result of get_avatar
    if ( empty( $id ) )
    return !empty( $avatar ) ? $avatar : $default;

    // Let BuddyPress handle the fetching of the avatar
    $bp_avatar = bp_core_fetch_avatar( array( ‘item_id’ => $id, ‘width’ => $size, ‘height’ => $size, ‘alt’ => $alt ) );

    // If BuddyPress found an avatar, use it. If not, use the result of get_avatar
    return ( !$bp_avatar ) ? $avatar : $bp_avatar;
    }’

    I’ve tried installing a bp-custom.php file within the plugin directory so that it would not be deleted when updating Buddypress but it produces an error everywhere on the site.
    Here is what I tried to add as the bp-custom.php file for reference:
    ‘define( ‘BP_AVATAR_UPLOAD_PATH’, ‘/var/www/wp-content/blogs.dir/1/files’ );
    define( ‘BP_AVATAR_URL’, ‘hxxp://integralbeings.com/files’ );’

    As I look at the code, I’m wondering if this is because there is no hxxp://integralbeings.com/files directory. Do I need to add this or is the path incorrect? Also, I’ve not seen hxxp before, is this a typo?

    Thanks for the support on this, it’s rather minor in the grand scheme of things, but I’m wondering if it will become a bigger problem as the community grows.

    Cheers,
    -Brant

Viewing 11 replies - 1 through 11 (of 11 total)
Skip to toolbar