wp-sigup.php and /register
-
Hello everyone,
I have a problem, I installed everything correctly, but following the path to register, I get the wp-signup.php and not / register and gives me a blank page.
Using WPMU 2.8.4a – BP 1.1 – bbpress 1.0.2
I state that the registration has been enabled by the settings.
What might be the error?
-
start from deactivating all the plugins. if wp-signup still returns blank page, this would be problem on wpmu not buddypress.
The is a filter that needs to be added to wpmu to resolve this issue. There is already a ticket that discusses this:
https://trac.buddypress.org/ticket/1103
That buddypress ticket includes a link to this ticket in for wpmu:
either I stick on this problem, can someone publish the solution here?
thanks.
InactiveThe solution reported by Graeme is correct, but did not solve my problem.
After changing the code in “login.php” I get this error:
Catchable fatal error: Object of class WP_Error could not be converted to string in / public_html / BuddyPress / wp-includes / WPMU-functions.php on line 107
my problem is :
with this url :
http://blogebay.com/wp-signup.php
the content is :
<script type=”text/javascript”>var ajaxurl = “http://blogebay.com/wp-signup.php”;</script>
then nothing.. just a blank.
InactiveMy problem is identical to yours Dankyz
I enter the code in htaccess file, maybe that’s the problem (?) :
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
Hi stefan84.
thanks for you reply.the blank is meaning nothing.
i changed the file .htaccess , it does not works.
Does somebody can stand up and solve the problem ?
InactiveOther solutions?
bump!
i just upgraded to bp1.1.1 , still get the same problem.
InactiveWell. My version is this: WPMU 2.8.4a bp 1.1, no bbPress.
The installation is in the root directory site.com/
No updates, installation made from the latest versions.
No plugin installed now, and use the default theme.
No changes to the files.
No errors reported in the file.
InactiveI solved the problem by deleting the folder “bp-themes” in wp-content.
But someone can tell me if this would make other problems?
May depend on what this error?
i just upgraded to bp1.1.1 , still get the same problem.
I have the same problem. Blank page on wp-signup.php.
The code end on:
<script type="text/javascript">var ajaxurl = "http://myblog.ro/wp-signup.php";</script>
I get a lot of traffic on inexistent blogs. Like when somone accesses http://sdfdsfsdf.myblog.ro gets redirected to http://myblog.ro/wp-signup.php?new=sdfdsfsdf but that is just a blank page now.
I have tried to apply the patch from trac to wp-login.php and it is the same blank page.
I use WPMU 2.8.4a and BuddyPress 1.1.1.
Please help if you have a solution to this. Thanks a lot.
I have the same problem. It seems to be a problem with the default theme:
1) Buddypress deactivated, using buddypress theme – issue
2) Buddypress activated, usibg P2 theme – no issue.
There is no core fix for this yet.
This problem will continue to exist until a newer version of WPMU adds an additional filter to the sign-up location.
https://buddypress.org/forums/topic/wp-sigupphp-and-register#post-25253
Is there a workaround?
This is what I do. You can add this in your theme, in mu-plugins or in bp-custom:
function rk_signup_redirect() {
if (strpos($_SERVER['REQUEST_URI'], 'wp-signup.php') !== false ) {
$url = 'http://ryuuko.cl/register';
wp_redirect($url);
exit;
}
}
add_action('init', 'rk_signup_redirect');You should change the url to fit your needs, or use a redirect in .htaccess.
@Detective Thanks for the fix! it worked!
https://buddypress.org/forums/topic/wp-sigupphp-and-register#post-26127
By the way, for those of you that are wondering, you have to add Detective’s fix to your theme’s functions.php file!
I was also having the error where the code was stopping at:
<script type=”text/javascript”>var ajaxurl = “http://yourdomain.com/wp-signup.php”;</script>
Detective, How exactly did you figure this out and how does the fix work and why are we getting this error? This should be a fix for the next release of BuddyPress.
Also, everyone, make sure you copy over the functions in the “functions.php” file from the bp-sn-parent theme to the “functions.php” file in your own theme. Without these functions, some things won’t work like member and blog listings as well as sidebar customization when using the “home.php” template.
Fix worked for me, thanks Detective.
Btw, shouldn’t this have shown up in the demo as well? Or is the demo slightly different?
Hi guys,
Thank you for the fixes posted here. I tried these and it still don’t work for my WPMU.
My site is at:
When I click on Signup it goes to:
http://intercer.net/blogs/wp-login.php?redirect_to=http://intercer.net/blogs/blogs/register
When you click on Register link at the bottom of this page or if I type directly http://intercer.net/blogs/register, it takes you to the same page.
I tried the fixes on this page and the ones indicated in:
https://buddypress.org/forums/topic/wp-signupphp-is-a-blank-page
No luck yet. Not sure what I am missing.
Trusktr — you mentioned to “make sure you copy over the functions in the “functions.php” file from the bp-sn-parent theme to the “functions.php” file in your own theme. Without these functions, some things won’t work like member and blog listings as well as sidebar customization when using the “home.php” template. “
I have these problems too. I put the redirect code in “functions.php” in bp-sn-parent themse (which is the theme that I use). What do you mean when you say to copy the functions into “your own theme”?
Thanks,
Lucian
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
@intercer , I too didn’t understand exactly what trusktr tried to explain. Can you share with us how you got things working?
this has been fixed, the page still looks kinda ugly though:
- The topic ‘wp-sigup.php and /register’ is closed to new replies.