Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] bp-default sidebar login not working

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

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


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


    Henry
    Member

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


    NewbieSteve
    Participant

    @newbiesteve


    rishraj
    Participant

    @rishraj

    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)
  • The topic ‘[Resolved] bp-default sidebar login not working’ is closed to new replies.
Skip to toolbar