Group Mods

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

"Friendly HTTP Error Messages" causes 404 (11 posts)

Started 1 year, 11 months ago by: Cce

  • Profile picture of Cce cce said 1 year, 11 months ago:

    I’ve set up Buddypress 1.2.1 on Wordpress MU 2.9.2. It is running on IIS6 with Mod_Rewrite Pro from Micronovae. PHP is 5.2.13 FastCGI 1.5 (also tested ISAPI version). WPMU has been running for more than a year.

    I’m getting 404 errors in certain places with IE. The easiest way to replicate the problem is by clicking the “Create a Group” button. That links to http://fqdn/groups/create, which is supposed to redirect to http://fqdn/groups/create/step/group-details. However, if IE’s “Show Friendly HTTP Error Messages” is turned on (which is the default), a 404 error message is displayed. If you turn it off, it works correctly. If you go straight to the /groups/create/step/group-details URL it also works. It also happens with Firefox if you have the Google Toolbar installed, which also intercepts error messages.

    Based on some Googling, there are other people with unexplained 404 errors, many running on IIS, and this might be the cause of their problems as well. I don’t know if this is specific to IIS, or if there is some other combination of settings that are causing it. I’ve talked to Micronovae and they say it isn’t related to URL rewriting.

    Does anyone have any ideas? Obviously, telling everyone to turn off “Friendly HTTP Error Messages” or disabling toolbars is not a good option.

    Thanks!

  • Profile picture of Cce cce said 1 year, 11 months ago:

    bump

  • Profile picture of Cce cce said 1 year, 11 months ago:

    bump

  • Profile picture of Cce cce said 1 year, 11 months ago:

    bump

  • Profile picture of Cce cce said 1 year, 11 months ago:

    bump

  • Profile picture of Cce cce said 1 year, 11 months ago:

    bump

  • Profile picture of Xevo Xevo said 1 year, 11 months ago:

    Wordpress + Windows haven’t been a good combination since the beginning.
    Don’t really think a lot of people are using BuddyPress/WordPress on a Windows server, therefore no one can really answer.

    Hope for somebody having the magic solution or use a LAMP install.

  • Profile picture of Cce cce said 1 year, 11 months ago:

    It looks like there is specific code in wordpress since 2.7 to address this, but it isn’t working for some reason.

    http://lists.automattic.com/pipermail/wpmu-trac/2009-February/002772.html

    This thread is similar:

    http://buddypress.org/forums/topic/404-page-when-trying-to-create-a-group-forum

  • Profile picture of Cce cce said 1 year, 11 months ago:

    If I understand correctly, there is code in pluggable.php that fixes an issue with IIS5 but it breaks newer versions. Disabling

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

    and replacing it with

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

    fixes the problem as below:

    if ( $is_IIS ) {
    //header(“Refresh: 0;url=$location”);
    header(“Location: $location”, true, $status);
    } else {
    if ( php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups
    header(“Location: $location”, true, $status);
    }

  • Profile picture of mcrustk2 mcrustk2 said 1 year, 10 months ago:

    Worked for me

    If this was stack Votes for Cce!!

    Thats one off my list!

    Cheers mate!

  • Profile picture of rbaccaro rbaccaro said 1 year, 0 months ago:

    My fix

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/404-page-when-trying-to-create-a-group-forum/