Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#3308 closed defect (bug) (worksforme)

Change Password broken

Reported by: svenl77's profile svenl77 Owned by:
Milestone: 1.2.8 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

I guess there is a bug in the bp-core-settings.php on line 40

If I try to change the password in my profile under settings, I get the following error:

Warning: require_once(wp-includes/registration.php) [function.require-once]: failed to open stream: No such file or directory in /data/wwwcust/sv3-316/html/wp-content/plugins/buddypress/bp-core/bp-core-settings.php on line 40

Fatal error: require_once() [function.require]: Failed opening required 'wp-includes/registration.php' (include_path='/usr/local/lib/php') in /data/wwwcust/sv3-316/html/wp-content/plugins/buddypress/bp-core/bp-core-settings.php on line 40

In the bp-core-settings on line 40 is a require_once( WPINC . '/registration.php' );

WPINC gives you back 'wp-includes' which is not the relative path to the registration.php. For this there needs to be an ABSPATH before the WPINC.

If I change it to require_once( ABSPATH . WPINC . '/registration.php' ); it's working correctly.

Attachments (1)

bp-core-settings.php (7.9 KB) - added by svenl77 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
13 years ago

  • Keywords settings Change Password removed
  • Resolution set to worksforme
  • Status changed from new to closed

Works for me on trunk r4730; looks like this is something we've already caught.

#2 @johnjamesjacoby
12 years ago

  • Milestone changed from Awaiting Review to 1.2.8
  • Severity set to normal
  • Version 1.2.8 deleted

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.