Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

  • cybmeta
    Participant

    @cybmeta

    @deraa you problem is another problem. This thread is about not sending exactly one email notification, the “accepted your friendship request” email notification.


    @lanvalencia
    I have tested and I’ve experienced the same problem. The “accepted your friendship request” email notification is not sent.


    cybmeta
    Participant

    @cybmeta

    Please, don’t be as silly as me.

    If you find yourself having problems with BuddyPress, even with all plugins deactivated, remember to check if there is a bp-custom.php file in your plugins folder.


    cybmeta
    Participant

    @cybmeta

    Once more test.

    wp_registration_url() returns https://example.com/wp-singup.php incorrectly.

    As soon I deactivate BuddyPress, it returns https://example.com/wp-login.php?action=register correctly.

    With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.

    I’m really stuck with this issue.

    I said it is not a multisite installation, and it is not, is_multisite() returns false. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:

    if ( !is_multisite() ) {
    	wp_redirect( wp_registration_url() );
    	die();
    }

    But because wp_registration_url() returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.


    cybmeta
    Participant

    @cybmeta

    I’ve made some more tests.

    In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.

    If I do this in the header.php of the theme:

    var_dump( bp_get_signup_page() );

    I get the incorrect value `https://example.com/wp-singup.php

    If I do this inside the function bp_get_signup_page() (I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):

    var_dump( $page );
    return apply_filters( 'bp_get_signup_page', $page );

    I get the correct value http://example.com/register/.

    If I remove the filter bp_get_signup_page inside bp_get_signup_page() , just to check if there is some filter altering the value:

    return $page;

    Then I get the correct value in the header.php of the theme, but if I go to http://example.com/register/, the page doesn’t shows the registration form.

    It seems that there is some bp_get_signup_page filter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value of bp_get_signup_page(), the registration page doesn’t work.


    cybmeta
    Participant

    @cybmeta

    It is not a multisite installation; I thought also about that because of I saw in the source code something related with multisite and wp-signup.php. But it is not a multisite installation.


    cybmeta
    Participant

    @cybmeta

    The site is http://goo.gl/Znj4nu

    Manually going to wp-login.php?action=register shows the WordPress registration form and works correctly.

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar