Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

wp-signup.php is a blank page (39 posts)

Started 2 years, 3 months ago by: PH (porsche)

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    Hello All,

    Im on BP. 1.1.1 on MU 2.8.4a

    I have set up my blogs to require to register and log in. However, when the “Login Page” appears and the opportunity to login and the link is clicked to go to /wp-signup.php but the page is blank.

    So the page is http://porscheheritage.com/panamera/wp-login.php?redirect_to=http://porscheheritage.com/panamera/2009/10/18/beverly-hills-porsche-presents-the-panamera/

    and its suppose it appears that it redirects to /wp-signup.php but when it arrives.. it just arrives at a blank screen..

    I’d rather not redirect wp-signup.php file to the intended destination which should be http://www.porscheheritage.com/register

    any ideas?

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    Anyone have any ideas?

  • Profile picture of Andy Peatling Andy Peatling said 2 years, 3 months ago:

    wp-login.php should not redirect to wp-signup.php without some sort of user interaction. Is this what is happening?

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    I have it set up so that if some one wants to Comment, they have to be a registered user. So what happens is when a person wants to Comment, the WP login screen appears then ofcourse if they dont have an account the user clicks on “Sign Up” at the bottom of the login prompt.. then the problem occurs.. it just redirects them to a blank page..

  • Profile picture of deenyusoff deenyusoff said 2 years, 3 months ago:

    I am having the same problem as well…There are also many themes that I installed that links to wp-signup.php for registration of new accounts but now it is just a blank page instead of redirecting to the new buddypress registration page…

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    Seriously! Anyone.. any help…

    behaviour.

    - User goes to “wp-login.php” (from Comments – Blog is set to Users must be registered)
    - User doesnt have an account yet. So user CLICKS on “Sign-Up”
    - SIGN-UP link on the bottom of the “wp-login.php” screen goes to wp-signup.php when clicked
    - wp-signup.php doesnt go anywhere onced clicked..just to a blank page. (I would rather have it go to “register”)

    Please help.

  • Profile picture of audiobookstef audiobookstef said 2 years, 3 months ago:

    I have the same problem.

    It works fine with regular themes though, which is NOT a proper solution of course, for it would not include the social network features.

    I find the fact that this topic is not answered and the main theme being bugged and OUTRAGE and an UNPROFESSIONAL ATTITUDE!

    I have gone this far thinking buddypress was a professional item, may be I should change my judgment.

    I can lose money a couple of days but after that I will go somewhere else if this problem isn’t fixed!

    Stef

  • Profile picture of audiobookstef audiobookstef said 2 years, 3 months ago:

    I have the same problem.

    It works fine with regular themes though, which is NOT a proper solution of course, for it would not include the social network features.

    I find the fact that this topic is not answered and the main theme being bugged an OUTRAGE and an UNPROFESSIONAL ATTITUDE!

    I have gone this far thinking buddypress was a professional item, may be I should change my judgment.

    I can lose money a couple of days but after that I will go somewhere else if this problem isn’t fixed!

    Stef

  • Profile picture of abcde666 abcde666 said 2 years, 3 months ago:

    see this TRAC-ticket:

    http://trac.buddypress.org/ticket/1292

  • Profile picture of Travel-Junkie Travel-Junkie said 2 years, 3 months ago:

    audiobookstef, you’re using free software, that is being made by now two core developers. Things take time and won’t be fixed within a few minutes.

    The proper way to do this is to open up a ticket, just like Erich73, and then, in the meantime, use a redirect from wp-signup.php to your normal BP registration page, which is easy to do.

  • Profile picture of Xevo Xevo said 2 years, 3 months ago:

    Your supposed to go to “/register” not “wp-signup.php”.

    Add this to your functions.php. Not sure who wrote this, but the creds go to that guy. :)

    function rk_signup_redirect() {
            if (strpos($_SERVER['REQUEST_URI'], 'wp-signup.php') !== false ) {
                    $url = 'http://domain.ext/register';
                    wp_redirect($url);
                    exit;
            }
    }
    add_action('init', 'rk_signup_redirect');

    Change $url = ‘http://domain.ext/register'; into your own domain.

    @audiobookstef: Start looking for something like buddypress then, good luck! :)

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    Thanks a bunch dudes! Hat Tip XEVO!

    But, im squimmish about opening any files.. (dont know anything)

    im looking in the /wp-includes/functions.php — is that the right spot?

    where do I cut and paste the code snippet?

    Thanks in advance!

  • Profile picture of John James Jacoby John James Jacoby said 2 years, 3 months ago:

    @Porscheheritage, if you’re comfortable with SVN, you can try the trunk version.

    Or, apply the fix from here.

  • Profile picture of PH (porsche) PH (porsche) said 2 years, 3 months ago:

    I feel really guilty and stupid.. im not trained.. but.. SVN sounds even more scary (LOL)

    I see this in the TRUNK version:

    211 if ( ” != locate_template( array( ‘registration/register.php’ ), false ) || ” != locate_template( array( ‘register.php’ ), false ) )
    212 die;
    211 if ( locate_template( array( ‘registration/register.php’ ), false ) || locate_template( array( ‘register.php’ ), false ) )
    212 wp_redirect( bp_root_domain() . BP_REGISTER_SLUG );

    This is my version:

    if ( false === strpos( $_SERVER['SCRIPT_NAME'], ‘wp-signup.php’) )
    return false;

    if ( ” != locate_template( array( ‘registration/register.php’ ), false ) || ” != locate_template( array( ‘register.php’ ), false ) )
    die;

    Can I just cut and paste whats on the trunk to replace what I have?

  • Profile picture of John James Jacoby John James Jacoby said 2 years, 3 months ago:

    Don’t feel stupid, SVN isn’t for everyone (but it does make life easier in the long run)

    Here’s the whole function…

    /* Kill the wp-signup.php if custom registration signup templates are present */
    function bp_core_wpsignup_redirect() {
    	if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php') )
    		return false;
    
    	if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
    		 wp_redirect( bp_root_domain() . BP_REGISTER_SLUG );
    }
    add_action( 'signup_header', 'bp_core_wpsignup_redirect' );