[Resolved] bp-default sidebar login not working
-
I am using child theme of bp-default theme. Its sidebar login form is not working, its getting timed out. But wp-login is working fine. The sidebar login was working properly few days back. I tried deactivating every plugin and also updated buddypress but still the problem persists. Also I didnt make any changes to the sidebar.php file.Cant understand the reason.
Please help.
bp-default theme
BuddyPress 1.7.1
WordPress 3.5.1
-
Hi Rishraj,
I ran into the same issue this week and I have resolved it on my end. If you’re having the same issue, I hope this helps you.
My exact issue:
* My scenario: WordPress + buddypress, trying to log on from the main page through the Buddypress default theme sidebar login.
* When served off local machine with Xampp: Works
* When served off professionally hosted remote server: Doesn’t work (408 timeout). However, login directly through wp-login.php did workSolution:
In bp-themes\bp-default\sidebar.php, you will see the code:`<?php do_action( 'bp_sidebar_login_form' ); ?>
<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />`Swap these two lines:`<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />
<?php do_action( 'bp_sidebar_login_form' ); ?>`What I did:
I used firebug to compare the HTTP POST messages being sent when I log in through the sidebar or directly through wp-login.php. The only difference I saw between the two was:Sidebar login order of parameters (broken): login, password, redirect, wp-submit, testcookie
wp-login.php login order of parameters: login, password, wp-submit, redirect, testcookieI don’t know why they’re swapped in the sidebar code. I also don’t know how or why swapping them could result in working in some environments and timing out in others. Can anyone else chime in here?
This is really crazy!
I also found this problem in the creation of my site (WordPress 3.5.2 + Buddypress 1.7.2 + bbPress 2.3.2, default BP Theme, no other plugins, fresh installed…).
I was getting a Error 500 when antempting to log in.
Followed the instructions and now is solved, thanks!
Someone should include this bug into development for next version of BuddyPress!!
Same here after an install of 1.7.2 and 3.5.2 with multisite.
It does seem to be an issue so I suggest you file a bug report at https://buddypress.trac.wordpress.org/
Sure, bug reported: https://buddypress.trac.wordpress.org/ticket/5080#ticket
- The topic ‘[Resolved] bp-default sidebar login not working’ is closed to new replies.