Skip to:
Content
Pages
Categories
Search
Top
Bottom

Trouble with BuddyPress on secondary blog


  • intothemythica
    Participant

    @intothemythica

    Hey. Latest version of wordpress & buddy press. Here’s the situation:

    I created a secondary blog. And then I changed the config file to shift Buddypress to that blog. However, wheN I do that, I get the white screen.

    define ( ‘BP_ROOT_BLOG’, $blog_id );

    When I delete it, the sub-site loads normally.

    In essence, right now, Buddypress is loaded on the main site (http://www.intothemythica.com/activity/), but when I want it to load on the sub-site (http://www.mythica.intothemythica.com) … which is basically a blank site right now (pre-design). I get the white screen.

    I want to have everything on a secondary blog, yet with the links and content that have already been logged on the main site.

    Why am I getting the white screen?

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

  • coffeywebdev
    Participant

    @coffeywebdev

    did you set the $blog_id variable? You must pass a number like this:

    define ( 'BP_ROOT_BLOG', 3 );

    Note: In WordPress 3.1, your $blog_id can be found by navigating to the “Network Admin > Sites” page and hovering over the blog in question. You should see a link that resembles this:


    intothemythica
    Participant

    @intothemythica

    Interesting. When I put in the new code in the config file, the main site also gives the white screen. Yes, I put in the blog ID number where you have the ‘3’.


    intothemythica
    Participant

    @intothemythica

    btw, I replied through email and wasn’t sure it went through so i’m just replying here on the buddy press site. thank you for the assistance. i’m trying to get this dialed to help my users out in a big way.

    If you get a white screen, that means a fatal PHP error. Can you set the define back, visit the site (to trigger the error), and then look in your PHP error log? Let us know what it says.


    intothemythica
    Participant

    @intothemythica

    this is what I got:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 /nas/content/live/intothemythica/wp-content/plugins/revslider/includes/tinybox.class.php(49): is_user_logged_in() #7 [internal function]: RevSliderTinyBox::visual_composer_include(”) #8 /nas/content/live/intothemythica/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #9 /nas/content/live/intothemythica/wp-settings.php(277): do_action(‘plugins_loaded’) #10 /nas/content/live/intothemythica/wp-config.php(154): require_once(‘/nas/content/li…’) #11 /nas/content/live/intothemythica/wp-load.php(37): require_once(‘/nas/content/li…’) #12 /nas/content/live/intothemythica/wp-blog-header.php(13): require_once(‘/nas/content/li…’) #13 /nas/content/live/intothemythica/index.php(17): require(‘/nas/content/li…’) #14 {main} === Please see Debugging in WordPress for more information. (This message wa in /nas/content/live/intothemythica/wp-includes/functions.php on line 3897

    Notice: Constant BP_AVATAR_THUMB_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 26

    Notice: Constant BP_AVATAR_THUMB_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 27

    Notice: Constant BP_AVATAR_FULL_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 28

    Notice: Constant BP_AVATAR_FULL_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 29

    Notice: The called constructor method for WP_Widget in WP_Widget_Moon_Phases is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/intothemythica/wp-includes/functions.php on line 3718

    Hmm. Those are notices (from Visual Composer, and a buddypress.php file in your theme, and from the WP_Widget_Moon_Phases widget), not fatal errors, so unlikely to be breaking the site, and unfortunately shed no light on what might be happening. Not sure.

    On your multisite – is BuddyPress network activated?

    p.s. even if this was working, all the existing BP configuration settings would live on Site ID 1. I think the BuddyPress content will come across, but you’d have to check/re-set any BuddyPress options.


    intothemythica
    Participant

    @intothemythica

    Buddypress IS network activated.

    I know there’s a way. I’ve had buddy press (on a clean install) work on a sub-site before.


    intothemythica
    Participant

    @intothemythica

    Okay. Now it’s working on the sub-site (thanks Paul), but posts from the various sub-sites in my multisite are NOT showing up in the Activity feed. Why?


    intothemythica
    Participant

    @intothemythica

    Specifically, NEW posts are not showing up in the Activity feed after i moved buddypress to the sub-site. But posts that were done before the move are. Why is this and how to fix it?


    intothemythica
    Participant

    @intothemythica

    Okay. I have the feeling that this is the issue, could use some assistance:

    timeline:

    1) Installed BP on main site (http://www.intothemythica.com)
    2) Moved BP to sub-site by setting in wp-config, to (http://www.mythica.intothemythica.com)

    result – NEW posts from sub-sites not showing up on Activity feed, but old ones showing.

    3) Read an article in BP about moving to a sub-site and redirecting the permalinks. Intuition is that this is the issue.

    what to change and how in .htaccess file?

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