[buddypress-trac] [BuddyPress] #3308: Change Password broken
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Jun 29 10:11:48 UTC 2011
#3308: Change Password broken
---------------------------------------+-----------------------------
Reporter: svenl77 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.2.8
Keywords: settings, Change Password |
---------------------------------------+-----------------------------
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3308>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list