Group Mods

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

404 Error (8 posts)

Started 1 year, 7 months ago by: sak1968

  • Profile picture of sak1968 sak1968 said 1 year, 7 months ago:

    Hi, I install the latest version of BP with WP 3.0. multiuser, network enabled. It’s on w2k8 and IIS7.5. However, when I click on any of the BP link (like creating group, edit profile, changer avatar..etc) I am getting 404 error for a few sec and then the coorect page comes up with no issue. I need to get rid of the 404 error. What i need to do..? Please help..I am loosing sleep trying to figure this out..Thanks
    my site is http://www.accessguyana.com

    Sharda

  • Profile picture of r-a-y r-a-y said 1 year, 7 months ago:

    Just checked your site.

    Looks like you resolved your problem as member profile links work for me.

  • Profile picture of sak1968 sak1968 said 1 year, 7 months ago:

    If you use the username: buddytester
    password:buddyt3st3r

    Click on Group, create grup, you will see the 404 error I am mentioning. This also happens when you click on profile/edit profile. Please help…Thanks!

  • Profile picture of r-a-y r-a-y said 1 year, 7 months ago:

    I re-read your post. There have been noted problems with IIS and BuddyPress.

    Here are some solutions you can try:

    http://trac.buddypress.org/ticket/2299

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/seeing-page-not-found-on-activity-members-groups-blogs-tabs/

    http://www.matthewcasey.co.uk/2010/04/01/setting-up-wordpress-mu-on-iis/

  • Profile picture of sak1968 sak1968 said 1 year, 7 months ago:

    Ray, thanks a million, I email matthew from the link http://www.matthewcasey.co.uk/2010/04/01/setting-up-wordpress-mu-on-iis/ you send me and his suggestion was to do the following:

    To fix:

    open YOURSITE > wp-includes > pluggable.php and search for the line:

    header(“Refresh: 0;url=$location”);

    This will be inside a function called wp_redirect.

    Change this to:
    header(“Location: $location”, true, $status);

    Thant works like a charm. Perfect. Thanks again to you and Matthew,..

  • Profile picture of r-a-y r-a-y said 1 year, 7 months ago:

    Great! Glad it works!

    FYI, since wp_redirect() is a pluggable function, you could probably just recreate the function with your mod and create a small plugin for it! That way you won’t have to hack the WP core.

    *Edit – Here’s the fix bundled into a quick plugin:
    http://buddypress.pastebin.com/download.php?i=S8e3t2Se (updated July 24th, forgot to wrap a !function_exists call around the function)

    Save as a PHP file and add it to /wp-content/mu-plugins/ or add it to the regular plugins directory and activate network-wide.

  • Profile picture of sak1968 sak1968 said 1 year, 7 months ago:

    True, but I will not touch for now!…:) Lost so much sleep trying to fix this one, so I may be a bit hesitant. Again thanks for the help!..much appreciated…

    Now, I am off to dig into the potientials of WP 3.0 MU with BP now that both are functioning properly…:)

    -S

  • Profile picture of boah123 boah123 said 1 year, 6 months ago:

    Thanks!