Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

Upgraded to 1.2.4 and now No Blogs Showing! (40 posts)

Started 1 year, 8 months ago by: russnm

  • Profile picture of russnm russnm said 1 year, 8 months ago:

    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.

  • Profile picture of abcde666 abcde666 said 1 year, 8 months ago:

    seems like BP 1.2.4 was tested with testbp.org only, which unfortunately is not running on WPMU anymore…..would be better to have a testbp.org with Single-WP and another test-website with a WPMU-install.

    This would also help developers to compare their own WPMU-BP-website against a default WPMU-BP-install (like testbp.org but with WPMU).

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-1-2-3-to-1-2-4-ugrade-fail/

  • Profile picture of mrjarbenne mrjarbenne said 1 year, 8 months ago:

    This is a huge issue no? I would assume that a large portion of BP users are running WPMU, given that BP until just recently didn’t run on a single WP install. I’m certainly glad I poked through the forums before upgrading tonight (as I had intended to.) Hope there is a fix soon. Perhaps a note on the main blog is in order once this is sorted.

  • Profile picture of Magganpice Magganpice said 1 year, 8 months ago:

    I’m wondering if this has to be fixed in a BuddyPress version or in a WPMU version (coming closer to WP Single)? I agree it is a huge issue since most/all installs that are active in the meantime (meaning the “older” installs) will be running WPMU.

  • Profile picture of Paul Gibbs Paul Gibbs said 1 year, 8 months ago:

    @erich73 — “seems like BP 1.2.4 was tested with testbp.org only.” Sorry, but that’s ridiculous. I for one have been using what become 1.2.4 on WP/MU 2.9-3.0 since work started on it. The testbp site is to let people try out BuddyPress and learn what it is, without having to setup their own install; it’s not for testing code (although it is handy for validating bugs).

  • Profile picture of Paul Gibbs Paul Gibbs said 1 year, 8 months ago:

    @russnm – the avatar problem has been reported (#2400) and @r-a-y‘s contributed a solution. There may be several avatar problems.

    Please someone report any other issues, including this blog list one, to http://trac.buddypress.org/. I’m wondering if something added for WP 3.0 has broken WP 2.9.x installs.

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    Hi Folks,

    I had exactly the same issue…fortunately I’ve only got 13 blogs so I was able to fix it manually.

    For anyone that is interested, this is what I did. I’m no mySQL expert so this is very manual (I tried to upload the records using ‘import’ but as usual some setting was correct…couldn’t be bothered dickin’ with it so I went manual :-P )

    It seems that the BP 1.2.4 empties the following Db Table – ‘wp_bp_user_blogs’.

    Fortunately I did a backup before venturing with yet another notorious BP Update.

    In my Db Backup (which is pretty big), I just did a ‘Find next’ search for ‘user_blog’. The info. your looking for looks like this:

    “LOCK TABLES wp_bp_user_blogs WRITE;
    /*!40000 ALTER TABLE wp_bp_user_blogs DISABLE KEYS */;
    INSERT INTO wp_bp_user_blogs (id, user_id, blog_id) VALUES (1,1,1),(2,3,1),(21,1,14),(20,1,13),(19,6,12),(17,1,12),(22,1,15),(23,1,16),(28,1,18),(25,1,17),(26,10,16),(27,10,13),(29,1,19);
    /*!40000 ALTER TABLE wp_bp_user_blogs ENABLE KEYS */;
    UNLOCK TABLES;”

    If you open you Db in myPHP Admin, click on the ‘wp_bp_user-blogs’ table, and when it’s empty row appears, just go up the top and click ‘Insert’. This will present you with a list of the 3 rows in the table. Their ‘Field’ names are respectively ‘id’, ‘user_id’ and ‘blog_id’ as it says above.

    Just take each block of 3 numbers in from your backup info. (I’d advise not using my numbers above :-P ), and pop them in, to the respective rows, 1 set at time. That is to say, place 1 each of the first set of 3 numbers on each row in its respective Field, then click ‘Go’. That will create a row in the Table. Then repeat the procedure for each set of 3 numbers.

    I hope that helps someone.

    Next MAJOR Problem is that I no longer have BP Admin Bars appearing at the top of my Blogs. If anyone has a fix I’m all ears.

    These are prettty major issues. This is my first BP Update…I’m now terrified of future ones.

    Anyway, now I’m off to spend more hours troubleshooting this other MAJOR PROBLEM.

    Cheers

    Stephen G

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    Oh! I forgot to mention:

    I’m using WPMU 2.9.2, on a Linux Server.

    I updated to BP 1.2.4 from 1.2.3.

    I deactivated all other BP Plugins and deactived BP Templates before Updating. Then when that stuff happened. I removed all BP Plugins and rebuilt the BP side of things one step at a time. End result was the same…no blogs, no BP Admin bar on Blogs.

    Cheers

    Stephen G again…

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    Oh! This just keeps getting better and better. I’ve lost pretty much all BP Functionality on my Blogs…i.e. no Member Widgets, no Group Widgets etc…

    On checking the Dashboards for individual Blogs, there are no BP Widgets therein!!!

    Again! This has got to be pretty basic stuff to check during pre-release testing…hasn’t it?

    I’m going back to 1.2.3.

    Cheers

    Stephen G

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    Oh! And it may be worth noting that BuddyPress used to appear in the Site-Wide Plugins list in WPMU…it now appears in the normal plugins list…which would in theory (I have checked it and I’m not going to try), that Users would be able to Activate/Deactivate BP via their Blog Admin (unless of course I hid it).

    Geez!

    Stephen G

  • Profile picture of Shawnkhall shawnkhall said 1 year, 8 months ago:

    @noshitwft, sounds like you enabled BP from the upgrade screen. Disable BuddyPress, then go back to the plugins page and re-enable it sitewide. That should fix many of your issues, but not the blog lists one. Working on a fix for that now.

  • Profile picture of Travel-Junkie Travel-Junkie said 1 year, 8 months ago:

    Ok, guys, this is very easy to fix, IF you have a backup of your DB tables.

    Open the backup .sql file and do a search for wp_bp_user_blogs (substitute wp_ for whatever your DB prefix is). Find the line that starts with:
    INSERT INTO wp_bp_user_blogs

    Copy that line, open phpMyAdmin and paste the code into the SQL tab. Hit enter and the blogs reappear.

    If you don’t have a DB backup, then you have to manually enter all your blogs into that DB table. Or write a little script that does it for you.

    Hope this helps you guys!

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    @shawnkhall and @Travel-Junkie

    Thanks guys…I’ll give it a whirl.

    Cheers

    Stephen G

  • Profile picture of hnla hnla said 1 year, 8 months ago:

    Thought I’d test this blog DB issue.

    Chose an older test install with BP 1.2 – deactivated ALL plugins, removed all old BP folder and files, brought WPMU up to latest version from 2.9.1. Confirmed WPMU & blogs running correctly

    Downloaded BP 2.2.4 Activated (doesn’t activate sitewide?!) enabled default theme but NO other plugins; visit site no blogs!

    Check DB and confirm table dropped :)

    Reset table rows as before, nothing still no blogs under BP & and of course no primary blog so can’t get back to dashboard normally :)

    Feels as though 2.2.4 is built for WP 3.0? doesn’t feel backward compatible.

    Not sure how this made it through any basic testing really to release candidate.

    I would hope this release was retracted very quickly until the issue is resolved before others trot of and god forbid upgrade production sites with large numbers of user blogs and inadequate backups.

  • Profile picture of Stephen Glanville Stephen Glanville said 1 year, 8 months ago:

    Ok! That’s a vast improvement! Doh! Sitewide Activation…what a thing to miss.

    @shawnkhall Yep! That fixed most issues. The only one I can see now (just having a quick look, not a thorough test), is that the Group Avatars are not showing up in the ‘Groups’ Widgets….but they are showing ok on the ‘Groups’ page on the Primary Blog. It would be nice to be able to fix that, but it’s hardly what I’d call a Major Issue. Thanks again for your help.

    @Travel-Junkie…yep! That worked fine too…thanks :-)

    Cheers

    Stephen G