Skip to:
Content
Pages
Categories
Search
Top
Bottom

wp-signup.php is a blank page

Viewing 25 replies - 1 through 25 (of 38 total)
  • Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    Anyone have any ideas?

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

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

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    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..

    Avatar of deenyusoff
    deenyusoff
    Participant

    @deenyusoff

    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…

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    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.

    Avatar of audiobookstef
    audiobookstef
    Participant

    @audiobookstef

    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

    Avatar of audiobookstef
    audiobookstef
    Participant

    @audiobookstef

    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

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    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.

    Avatar of Xevo
    Xevo
    Participant

    @xevo

    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! :)

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    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!

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

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

    Or, apply the fix from here.

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    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?

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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' );

    Avatar of Detective
    Detective
    Participant

    @detective

    The signup_header hook is called inside wp_head, so the HTTP headers will be already sent and the redirect won’t be effective.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    …and yet it still works? Give it a try.

    I’m open to any other alternatives that might be more effective. :D

    Avatar of intercer
    lucianmih
    Participant

    @lucianmih

    Hi John,

    I tried the above fix on my site http://www.intercer.net/blogs and it is not working.

    Now I do not get the blank signup page, but it redirects to:

    http://intercer.net/blogs/wp-login.php?redirect_to=http://intercer.net/blogs/blogs/register

    What else should I try?

    Thanks,

    Lucian

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    fingers crossed!

    im about to give it a whirl!

    <hat tip> to John James Jacoby!

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    Ok Guys!

    That seemed to have worked.

    However,

    the look and feel of: http://porscheheritage.com/register

    and the look and feel of:

    http://porscheheritage.com/wp-signup.php

    is different!?

    would it be possible to just some how redirect to to /register ?

    should I try this with htaccess redirect wp-signup.php to /register ?

    (is that even possible?)

    Avatar of intercer
    lucianmih
    Participant

    @lucianmih

    I solved the issue by renaming bp-themes folder. (same like stefan84)

    Now I can see the signup page:

    http://intercer.net/blogs/register

    The only thing that don’t work yet is the blog list:

    http://intercer.net/blogs/blogs

    It says page not found.

    Thanks,

    Lucian

    Avatar of Xevo
    Xevo
    Participant

    @xevo

    That code that I posted earlier forces the user to go to /register, they won’t even see wp-signup.php.

    Place it in functions.php in your theme folder.

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    Roger that XEVO!

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    Well, I”LL be damned! That worked!!! Exactly the way its suppose to!

    looks like no adverse side effects!

    Avatar of PH (porsche)
    PH (porsche)
    Participant

    @porscheheritage

    Follow Up Questions:

    I’ve left JJJ’s code snipet in.. (Will that conflict with anything?) —

    - JJJ’s snippet is located in:

    wp-content / plugins / buddypress / bp-core / bp-core-signup.php

    - XEVO;s snippet is located in:

    / wp-content / themes / bp-sn-parent / functions.php

    I’ve left both snippets in…

    Any possible conflicts?

    I hate touching “stock installations” at some point im gonna forget what I did, where.

    Avatar of Xevo
    Xevo
    Participant

    @xevo

    There should be no conflicts, since they both almost do the same. Just see it as an extra check? :)

Viewing 25 replies - 1 through 25 (of 38 total)

You must be logged in to reply to this topic.