Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress – 'Create Group' PROBLEM

  • Avatar of boonika
    boonika
    Participant

    @boonika

    Sorry for posting this on both, WPMU and BuddyPress forums. Please delete this thread if this is a problem.

    I’m running WPMU 2.7.1 and BuddyPress 1.0.2

    I created a group (as one of members, not as admin) and everything went fine. Well almost everything. I was not able to create avatar but this was workaround:

    http://mu.wordpress.org/forums/topic/11689?replies=3#post-77721

    However that is not what is bothering me. When I tried to create another group I ran into HUGE problem. At least for me it is. The new group I was creating was actually overwriting the one I created before. Any idea on how to fix this problem.

    Cheers

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    What do you mean by ‘overwriting the one I created before’. Exactly what happens? I just tested creating 2 groups one right after the other. Everything works fine. The one issue I noticed is that the group avatar thumbnail doesn’t reflect the gravatar group avatar if I don’t upload an avatar image. I’m using the default themes and bp trunk though. bp 1.0.2 is pretty close to that.

    Avatar of boonika
    boonika
    Participant

    @boonika

    OK. Here’s what happened:

    I created a group called ‘Extraordinary Video Work’. I also invited friends… we had some Wire activities… and so on.

    Than I clicked My Account/Groups/Create a Group to create a new, ‘Fonts’ group. Did everything as I did for the first group. I clicked Groups from the main menu and realized that the previous group was transformed into this new group. List of members and Wire posts were the same but name of the group (‘Extraordinary Video Work’ was changed to ‘Fonts’) and description were changed. I tried several times. If You want I can create a profile for you so you ca try it yourself. Just give me your email. Mine is pinkforrest[at]gmail[dot]com.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    I read your posts in this thread: http://buddypress.org/forums/topic.php?id=2657

    What caught my eye was your statement:

    I have a lot of plugins for MU but I didn’t include any extra BP plugins.

    To trouble shoot, please read my post in that thread just above your first post.

    Deactivating plugins does not mean just “BuddyPress plugins”. Why? Because BP is itself a plugin. What others may call “BuddyPress plugins” are actually WPMU plugins that extend the BuddyPress plugin in some way.

    When we ask people what other plugins they have running and advise them to deactivate all plugins except BP, we mean all WPMU plugins except BP!

    Furthermore as I detail in my linked-to post, to effectively troubleshoot, you need to be running the default BP themes. Basically, you need to remove as many variables as possible.

    Avatar of boonika
    boonika
    Participant

    @boonika

    Thanks for Your post. This is what I did so far without any result:

    1. I deactivated (removed) all plugins from mu-plugins folder – same result

    2. I deactivated all plugins via Plugin Commander (‘plugins’ folder) and checked on users blogs if those plugins are deactivated – same result

    3. I changed from my custom member theme to bpmember theme – same result

    4. I downloaded buddypress.1.0.2.zip once again and replaced all BP files from buddypress folder with new ones via FTP – same result

    5. I replaced all themes from bp-themes folder with ones from buddypress.1.0.2.zip file I downloaded – same result

    6. I tried disabling/enabling BuddyPress Group Component – same result

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    I just went through all that with him Jeff. We did all the above and he still has the issue. This is the same thing that bp was doing with the multiple signup from the same computer consecutively problem. It doesn’t seem to be clearing the group id cookie.

    This works ok on my windows dev box. This is just not working on his site. I logged in and watched it happen. Second group creation just adopts the first group’s group id and goes on it’s merry way. The cookie wasn’t cleared as it should have been.

    The code says clear it at the beginning of a group creation process and clear it at the end. It’s not obviously. All the cookie paths and domains for the setcookie() calls are all the same.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    One of the things I noticed about his site is that group forums aren’t turned on. That means that he’s running the default wp-config.php settings for cookies and not the altered settings that bbpress integration creates.

    Hmmm…

    Perhaps the bp setcookie() calls were written just assuming some wp-config.php defines for cookies that aren’t present on his site.

    Avatar of boonika
    boonika
    Participant

    @boonika

    THANKS A LOT to Burt Adsit. It was a problem inside wp-config.php.

    before:

    define(‘ADMIN_COOKIE_PATH’, ‘/’);

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ”);

    define(‘SITECOOKIEPATH’, ”);

    after (see slashes in last two lines):

    define(‘ADMIN_COOKIE_PATH’, ‘/’);

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    define(‘SITECOOKIEPATH’, ‘/’);

    Thanks Burt

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Burt, good stuff!

    boonika, I’m glad Burt was able to get your site working again.

    Avatar of boonika
    boonika
    Participant

    @boonika

    Yes, great guy. I wish he wins lottery:)

    Avatar of gazouteast
    gazouteast
    Participant

    @gazouteast

    ,blockquote>

    define(‘ADMIN_COOKIE_PATH’, ‘/’);

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ”);

    define(‘SITECOOKIEPATH’, ”);

    I have a 3-4 day old install of WPMU 2.8.4a & BP 1.1.2

    I don’t have the above settings in wpmu/wp-config.php but I do have 3 of them, but not SITECOOKIEPATH in wpmu/wp-settings where they are not supposed to be edited from what the comments in the file imply.

    Or … are you saying there is a file of the same name under wpmu/wp-content/buddypress/ ?

    The answer might assist with a problem I’m having.

    Gaz

    Make a new thread please, I am going to close this one. This one is 3 months old and has been marked as resolved by the original poster, lots has changed since then.

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

You must be logged in to reply to this topic.