Skip to:
Content
Pages
Categories
Search
Top
Bottom

404 flashes then redirects fine when creating groups


  • Kelly L Brindle
    Participant

    @kbrindle2002

    Happy New Year to all buddypress friends & gurus!

    Issue..

    When I go to “Groups” and “Create A Group”, it takes me to a 404 – file or directory not found for like 2 seconds and then redirects to the correct page no problem. I’m getting the same thing as I walk through the group creation pages, put in the info, click to the next step, flash of 404 page, and then redirects to the next step just fine. It seems to be just internal buddypress pages (but I could be wrong), I have a suspicion it maybe a rewrite rule that I am missing in my web.config(Yup, I said web.config!)? but I am too darn lazy to figure it out on my own and I’ve tried using different “key” words to search the bp forums and google but didn’t find anything related (if I posted a duplicate issue or missed something obvious, be gentle!)

    My environment…

    Windows 2008 Server, IIS 7, URL_Rewrite, PHP 5.3.1, MySQL 5.1.41, WordPress MU 2.9-rc-1, buddypress 1.2-bleeding. (I know bp 1.2 shouldn’t be in production, but I live dangerously!)

    My site URL…

    http://momchatter.com

    Thanks!

    Kel

Viewing 9 replies - 1 through 9 (of 9 total)
  • Have you tried the latest trunk? There was an issue with group creation a few revisions back.


    Kelly L Brindle
    Participant

    @kbrindle2002

    Andy,

    Downloaded the latest trunk 2242, same problem.


    Kelly L Brindle
    Participant

    @kbrindle2002

    Just as an experiment I changed my theme to the buddypress classic, logged in as admin, I didn’t see a “create a group” button, where is that hidding in that theme? (I changed back my theme though already, but let me know)

    Kel


    Kelly L Brindle
    Participant

    @kbrindle2002

    Andy,

    I took a look at some logs on my end, I think it’s a serve side issue, specifically permissions(?), but I’m not 100% sure, is there a way I can send you the xml log error file to confirm it’s not a buddypress issue?

    Kelly


    Kelly L Brindle
    Participant

    @kbrindle2002

    Okay, I am still having this same problem, but now on a new website same server DELL PowerEdge 2950, same envrionment (Windows 2008 Server SP2, IIS 7, PHP v5.3.1, My SQL v5.1.41) I am using BP 1.2.2 svn 2853. I click on the “create group” link, i get a 404 error for 3 to 4 seconds and then it redirects to the proper url without a problem. I’ve created a test user account, it’s testuser with the password test2000 if anyone needs to verify the issue. Here is a copy of my web.config, I just gave the “groups” directory under my theme folder “full control”, so I am not sure what else it could be but something I am missing in my web.config? or any other thoughts?

    <?xml version=”1.0″ encoding=”UTF-8″?>

    <configuration>

    <system.webServer>

    <rewrite>

    <rules><rule name=”Imported Rule 1″ stopProcessing=”true”><match url=”^(.*/)?files/$” ignoreCase=”false” /><action type=”Rewrite” url=”index.php” /></rule><rule name=”Imported Rule 2″ stopProcessing=”true”><match url=”^(.*/)?files/(.*)” ignoreCase=”false” /><conditions logicalGrouping=”MatchAll”><add input=”{URL}” pattern=”.*wp-content/plugins.*” ignoreCase=”false” negate=”true” /></conditions><action type=”Rewrite” url=”wp-content/blogs.php?file={R:2}” appendQueryString=”false” /></rule><rule name=”Imported Rule 3″ stopProcessing=”true”><match url=”^(.+)$” ignoreCase=”false” /><conditions logicalGrouping=”MatchAll”><add input=”{URL}” pattern=”^.*/wp-admin$” ignoreCase=”false” /></conditions><action type=”Redirect” url=”{R:1}/” redirectType=”Permanent” /></rule><rule name=”Imported Rule 4″ stopProcessing=”true”><match url=”.” ignoreCase=”false” /><conditions logicalGrouping=”MatchAny”><add input=”{REQUEST_FILENAME}” matchType=”IsFile” ignoreCase=”false” /><add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” ignoreCase=”false” /></conditions><action type=”None” /></rule><rule name=”Imported Rule 5″ stopProcessing=”true”><match url=”^([_0-9a-zA-Z-]+/)?(wp-.*)” ignoreCase=”false” /><action type=”Rewrite” url=”{R:2}” /></rule><rule name=”Imported Rule 6″ stopProcessing=”true”><match url=”^([_0-9a-zA-Z-]+/)?(.*\.php)$” ignoreCase=”false” /><action type=”Rewrite” url=”{R:2}” /></rule><rule name=”Imported Rule 7″ stopProcessing=”true”><match url=”.” ignoreCase=”false” /><action type=”Rewrite” url=”index.php” /></rule><rule name=”wordpress – strip index.php” stopProcessing=”false”>

    <match url=”^index.php/(.*)$” />

    <action type=”Rewrite” url=”{R:1}” />

    </rule>

    <rule name=”wordpress – 1″ stopProcessing=”true”>

    <match url=”^(.*/)?files/$” />

    <action type=”Rewrite” url=”index.php” />

    </rule>

    <rule name=”wordpress – 2″ stopProcessing=”true”>

    <match url=”^(.*/)?files/(.*)” />

    <conditions>

    <add input=”{REQUEST_URI}” negate=”true” pattern=”.*wp-content/plugins.*” />

    </conditions>

    <action type=”Rewrite” url=”wp-content/blogs.php?file={R:2}” appendQueryString=”false” />

    </rule>

    <rule name=”wordpress – 3″ stopProcessing=”true”>

    <match url=”^(.+)$” />

    <conditions>

    <add input=”{REQUEST_URI}” pattern=”^.*/wp-admin$” />

    </conditions>

    <action type=”Redirect” url=”{R:1}/” redirectType=”Permanent” />

    </rule>

    <rule name=”wordpress – 4″ stopProcessing=”true”>

    <match url=”.” />

    <conditions logicalGrouping=”MatchAny”>

    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” pattern=”” />

    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” pattern=”” />

    </conditions>

    <action type=”None” />

    </rule>

    <rule name=”wordpress – 5″ stopProcessing=”true”>

    <match url=”^([_0-9a-zA-Z-]+/)?(wp-.*)” />

    <action type=”Rewrite” url=”{R:2}” />

    </rule>

    <rule name=”wordpress – 6″ stopProcessing=”true”>

    <match url=”^([_0-9a-zA-Z-]+/)?(.*\.php)$” />

    <action type=”Rewrite” url=”{R:2}” />

    </rule>

    <rule name=”wordpress – 7″ stopProcessing=”true”>

    <match url=”.” />

    <action type=”Rewrite” url=”index.php” />

    </rule></rules>

    </rewrite>

    </system.webServer>

    <system.web>

    <authentication mode=”Forms” />

    </system.web>

    </configuration>

    Did you ever solve this? I am having the same issue.


    1stAngel
    Participant

    @1stangel

    mine doesn’t carry on….it gets to the second part ok, I say public and then it breaks, asks me if I am sure I want to do that. If I then go to the group page it is there and I can add the avatar etc in the group admin but it just wont let me finish creating the group normally…

    I wonder if the redirect is broken and we’re not setting status 200 (default is 404, where we hook in).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘404 flashes then redirects fine when creating groups’ is closed to new replies.
Skip to toolbar