wp-signup.php is a blank page
-
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.
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?
-
Anyone have any ideas?
wp-login.php should not redirect to wp-signup.php without some sort of user interaction. Is this what is happening?
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..
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…
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.
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
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
see this TRAC-ticket:
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.
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!
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!
@Porscheheritage, if you’re comfortable with SVN, you can try the trunk version.
Or, apply the fix from here.
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?
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' );The signup_header hook is called inside wp_head, so the HTTP headers will be already sent and the redirect won’t be effective.
…and yet it still works? Give it a try.
I’m open to any other alternatives that might be more effective.
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
fingers crossed!
im about to give it a whirl!
<hat tip> to John James Jacoby!
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?)
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
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.
Roger that XEVO!
Well, I”LL be damned! That worked!!! Exactly the way its suppose to!
looks like no adverse side effects!
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.
There should be no conflicts, since they both almost do the same. Just see it as an extra check?
- The topic ‘wp-signup.php is a blank page’ is closed to new replies.