Skip to:
Content
Pages
Categories
Search
Top
Bottom

Upgraded to 1.2.4 and now No Blogs Showing!


  • russnm
    Participant

    @russnm

    Just upgraded to 1.2.4 (using WPMU, BP default theme) and everything seems to work fine…EXCEPT all blogs are missing (except for a couple that were registered just after the upgrade). They are missing from the top (BP) menubar, and also from the Blogs page. Did backup the database…thankfully…but not sure how to make the necessary repair. Any advice? Anyone else experience this problem. Big problem for me as I host nearly fifty independent blogs on this site: http://singlewriter.com

    NOTE: Just discovered that while the custom avatars are still showing on the Members and Activities pages, they are no longer showing in the top (BP) menubar under the Blogs pick. Been replaced by a default “mystery man” avatar. Any help with these issues would be greatly appreciated.

Viewing 14 replies - 26 through 39 (of 39 total)

  • r-a-y
    Keymaster

    @r-a-y

    If you’re like me, and did not do a DB backup because you thought the upgrade would be smooth sailing (d’oh! thankfully this was only on a test install!), do the following:

    1. Revert the $blog_ids variable in the bp_blogs_record_existing_blogs() function in bp-blogs.php back to this:
    $blog_ids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM {$wpdb->base_prefix}blogs WHERE mature = 0 AND spam = 0 AND deleted = 0" ) );

    2. Then put this line in your theme’s functions.php:
    bp_blogs_record_existing_blogs();

    3. Go to your BP’s blogs directory and see your blogs repopulate.

    4. Once you’ve verified that your blogs are back, remove the bp_blogs_record_existing_blogs() function line from your theme’s functions.php

    so is $current_site->id a WP3.0 thing? – obviously the sql statement pulls in nothing after the truncate.

    @0815
    Well I can’t get the one user blog created on my wp 3.0 to show despite adding the rows to the table, the main blog is visible though and is by default the front page. I would bear in mind that to some extent WP.30 + BP 1.2.4 is likely prone to teething issues. Best go back over the posts in this thread and follow the guidance in them again?


    r-a-y
    Keymaster

    @r-a-y

    @nuprn1 – $current_site exists in WPMU 2.9.2. Not sure why $current_site is not doing anything in the bp_blogs_record_existing_blogs() function.

    @hnla – See if the blog has a user attached to it. If it doesn’t, assign a user to the blog as an admin.

    @r-a-y what file are you referring to with that sql query earlier as at the moment each deactivation reactivation of BP simply wipes the reset fields in that table.

    Users seem correct.

    tbh I’m not prepared to waste too much time on this as it was only out of curiosity and I hadn’t intended trying to work WP 3.01 and BP 1.2.4 until both were at stable releases


    r-a-y
    Keymaster

    @r-a-y

    @hnla – Sorry I forgot to write that the sql query in the previous post refers to bp-blogs.php.

    @r-a-y ah thanks I’ll give that a shot, but reverting the changes after successful completion will just produce the same issue if one dectivates/reactivates BP or am I thinking that through incorrectly (guess I’ll know after running it :) )

    @r-a-y yep works beautifully and of course one doesn’t remove the amended sql query just the function call in functions.php.


    Arturo
    Participant

    @arturo84

    to fix the problem in the new download the only change is the $blog_ids variable?


    r-a-y
    Keymaster

    @r-a-y

    BP 1.2.4.1 has just been tagged and fixes the missing blogs issue:
    https://downloads.wordpress.org/plugin/buddypress.1.2.4.1.zip

    Thank you. Updated from 1.2.4 to 1.2.4.1, deactivated and reactivated it, and now the problems have gone away :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The $current_site check was put into 1.2.4 when it was meant for 1.3.

    It’s been reverted for 1.2.4.1.

    Hi Guys,

    That’s good news re: 1.2.4.1. I haven’t installed it yet as I managed to fix my major issues beforehand thanks to the helpful folks on this thread.

    There are some not quite major issues left however (re: widgets – see below). Does 1.2.4.1 include fixes for the widgets too? If not I’ll wait for now.

    Widget Problems:

    User Blogs – Groups Widgets – No avatars. According to Firebug, default avatar blanks are being retrieved from Gravatar.com instead of actual group-avatars from the internal folder ‘group-avatars’. Also none of the links ‘Newest’, ‘Active’ or ‘Popular’ work. They all return a 404 Error. I re-saved the ‘Permalinks’ pages for the individual Blogs which often helps with other 404s but alas, not these ones. Individual Group Name Links work ok though.

    User Blogs – Members Widgets – Shows avatars ok but has the same issues with ‘Newest’, ‘Active and ‘Popular’ links returning a 404 Error.

    Primary Blog – Everything seems to work fine there. All Group Avatars appear where they should (including in the Groups Widget), and ‘Active’, ‘Popular’ and ‘Newest’ links work ok too.

    Cheers

    Stephen G

    PS: Just to follow-up on the above…I have now installed BP 1.2.4.1. – (24 May 2010)

    The above issues remain.


    motomac
    Participant

    @motomac

    1.2.4.1 fixes blogs, but not all.

    Also link from nickname and avatar of any user on the user profile page goes to your profile page.

Viewing 14 replies - 26 through 39 (of 39 total)
  • The topic ‘Upgraded to 1.2.4 and now No Blogs Showing!’ is closed to new replies.
Skip to toolbar