Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] bp-default sidebar login not working

  • Avatar of rishraj
    rishraj
    Participant

    @rishraj

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of NewbieSteve
    NewbieSteve
    Participant

    @newbiesteve

    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 work

    Solution:
    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, testcookie

    I 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?

    Avatar of mixali
    mixali
    Participant

    @mixali

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

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    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 http://buddypress.trac.wordpress.org/

    Avatar of NewbieSteve
    NewbieSteve
    Participant

    @newbiesteve

    Avatar of rishraj
    rishraj
    Participant

    @rishraj

    @newbiesteve“> Followed the instructions and its working perfectly fine, thanks a lot, steve !
    Really appreciate the help.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.