[buddypress-trac] [BuddyPress] #3892: 404 - File or directory not found

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Dec 29 21:35:27 UTC 2011

#3892: 404 - File or directory not found
 Reporter:  kwgagel       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Settings      |    Version:
 Severity:  normal        |   Keywords:  dev-feedback has-patch
 I started seeking help for this on the wordpress.org support forum, then
 when I found the source of the problem I reported it as a bug their ticket

 They told me I needed to go to Buddypress... so, I'm reporting it here

 We are running Wordpress using multiuser with Buddypress. Users are
 getting the 404 error after they click the save button in their settings.

 I'm opening this ticket to report the source of the problem.

 Wordpress 3.x Buddypress 1.5 Windows 2008 R2 (IIS 7.5)

 Themes installed are all Buddypress compatible and all themes seem to be
 affected. All option pages are affected. Settings are updated when the
 user returns to the page - despite the error. A screen shot of the error
 can be seen at  http://blogs.cnc.bc.ca/gagel/?attachment_id=38

 The source of the problem appears to be in the wp_get_referer() function
 on line 164 in options.php. With the variables passed to the function it
 should redirect the user to the page they just submitted when they updated
 options. Instead they get the 404 error.

 The page they're redirected to appears to be the absolute path of the
 submitted page appended to the absolute path again (minus the domain). So
 it looks like this: userblog/wp-admin/userblog/wp-admin/options-

 When I switch out the wp_get_referrer() function with the variable
 $parent_page then the redirect worked as expected.

 I'm uncertain about leaving it like this as my change may have introduced
 issues elsewhere...

 This issue is discussed at

 This issue was reported as a bug report at

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3892>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list