Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group forum (new and converted forums) posting causing redirect loop


  • Erlend
    Participant

    @sadr

    I’m trying to use Group Forums on my website and it’s causing redirect loops like this:

    View post on imgur.com

    Both newly created forums as well as old converted ones (re-linked with Forum Tools) cause this error. Disabling the group forums functionality fixes it. I’ve tried disabling all other plugins as well as changing themes, doesn’t seem to matter.

    Any idea what might cause this?

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

  • @mercime
    Keymaster

    @mercime

    @sadr WP/BP versions?  Did you create a Forum(Category) for your group forums before you converted or after? What’s the hierarchical structure of your converted group forums? How did you convert group forums to bbPress? Did you follow the instructions in BP Codex?

     


    Erlend
    Participant

    @sadr

    • WordPress 3.5.1
    • BuddyPress 1.6.4
    • bbPress 2.2.4

    After we had converted our legacy forum to bbPress 2, I created a new forum category called “Projects” and made all the remaining group forums parent to that category. By remaining, I mean that the other group forums had now been re-purposed as ordinary forums with no group attached. I did not re-link the remaining group forums with their respective groups until a few months (and probably a BuddyPress and bbPress update in between) after the initial forum conversion.

    We have a simple hierarchy. 3 main categories (Troubleshooting, Development and Projects) act as parents for all underlying forums. The ‘Projects’ category holds all old and new group forums. We followed the BP Docs to do the conversion right.

    I have a feeling it may be related to Step #6, when the bbPress repair tool ‘Repair BuddyPress Group Forum relationships’ works only the first time it is run, subsequent attempts will not actually update bp_groups_groupmeta.id with the correct forum ID.

    Details of this are in bbPress ticket #2089

    If and ONLY if in your WP database tables `wp_bp_groups.slug` is an exact match with the associated post for the forum in `wp_posts.post_name` then the 2089.2.diff patch will work as long as this forum was one of the group forums originally imported.

    Diving into phpMyAdmin and looking at these values and manually updating them I think will be the best solution.


    Erlend
    Participant

    @sadr

    Hmmm, interesting. Could that still affect new groups made with group forums though? Because we’re experiencing this same issue with those as well.

    There is a chance it could be affecting new groups though I thought if that was the case this would have already been picked up as a bug.

    The best way to determine if that is the case will be with phpMyAdmin looking at the foloowing tables:

    • `wp_bp_groups`
    • `wp_bp_groups_meta`
    • `wp_posts` using this query `SELECT * FROM wp_posts WHERE post_type LIKE forum`
    • `wp_postmeta` using this query `SELECT * FROM wp_postmeta WHERE meta_key = _bbp_old_forum_id`
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Group forum (new and converted forums) posting causing redirect loop’ is closed to new replies.
Skip to toolbar