bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Can't Login!

(27 posts)
  • Started 1 year ago by astereo
  • Latest reply from grafisch-vormgever
  • This topic is not a support question
  1. I seem to be having trouble logging in at all in bbpress. I integrated it successfully with Wordpress, but I can't login with my wordpress user name and password. I figured, something must be up, so I registered a new account in bbpress to try it out - password was mailed and everything - and when I went to login, still nothing. The page refreshes but goes nowhere and doesn't say I'm logged in. Seems like a mod rewrite issue, but I can't figure out what it is. During the initial install I set the config to clean urls, then used an .htaccess like the following:


    # BEGIN BBPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /location_of_install/
    Options +MultiViews
    </IfModule>
    # END BBPress

    After doing so I kept getting 404's when clicking on topics, etc (only to find out later I needed to fix my url at the beginning of config). Now everything is working except logins. Any ideas?

    Posted 1 year ago #
  2. No one can login, or just you?

    Does your WP username have any spaces or "funny" characters in it?

    Posted 1 year ago #
  3. No one..

    My wordpress username doesnt contain spaces or anything like that, it's simply "ocean"

    Posted 1 year ago #
  4. I am getting the very same error. I have a download from the 12th that i installed today. After login, on multiple users, go nowhere!

    I came to the forum to see if I am not alone. and am not!

    Gary

    Posted 1 year ago #
  5. What webserver are you two using? This initial release didn't receive much testing under IIS. There could still be some bugs there.

    Also, please try installing the official release, garymill. There were several changes between October 12th and the final version, some of which dealt with login issues.

    Posted 1 year ago #
  6. I'm on a Linux

    Posted 1 year ago #
  7. I just downloaded the latest version, deleted the previous tables and did a new install.

    Same login problem is being encountered.

    the forum is at http://energizedeating.com/blog/forum/

    Anyone is welcome to register to confirm and hopefully help me solve this.

    When I arrive at the forum, I am greeted as signed in

    When I tried to post, I am prompted to login, , but the same login box appears again after and I remain not logined in.
    If I enter my login info wrong, I am given an error message.

    I hope someone can help.

    Gary

    Posted 1 year ago #
  8. Yeah, anyone is willing to give mine a shot too:
    http://www.astereostudio.com/on/forums

    (Layout is a bit screwy, in the middle of customizing for theme release)

    Posted 1 year ago #
  9. Yes, I meet the same issue that I can't login with my wordpress username. I used Dreamhost as webhosting.

    Posted 1 year ago #
  10. I am using linux.

    Posted 1 year ago #
  11. I had the same problem, but after reading the Ulitmate bbPress Guide (http://www.devlounge.net/articles/the-ultimate-bbpress-guide/1/) I realised I had made mistakes on these lines of my config file:
    #
    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.
    #
    $bb->wp_home = false; // WordPress - Options->General: Blog address (URL) // No trailing slash
    #
    $bb->wp_siteurl = false; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    I replaced the FALSE with TRUE instead of adding the actual urls and the'wp_'. Your problem might be completely different but maybe you made the same mistake as I did?

    As a side note it seemed obvious to me that if it wasn't FALSE then I should set it to TRUE, but maybe not everybody agrees.

    hth

    Posted 1 year ago #
  12. When I use this option

    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.

    Set it to true, and use my prefix, I am running into this error:

    bbPress database error: [Table 'dbname.1users' doesn't exist]
    SELECT * FROM 1users WHERE user_login = 'ergate' AND SUBSTRING_INDEX( user_pass, '---', 1 ) = '*****[moderated]*****'
    bbPress database error: [Table 'dbname.1users' doesn't exist]
    SELECT * FROM 1users WHERE user_login = 'ergate'

    Even if I intentionally put the wrong db prefix, it still gives this same error.

    But as long as I use keep using the old integration code in the config file

    // use the WP user table for your bbpress user list
    define('CUSTOM_USER_TABLE', 'wp_users');

    the login works just fine.

    Posted 1 year ago #
  13. This is what it should look like:
    $bb->wp_table_prefix = 'wp_'; // 'wp_'; // WordPress table prefix.

    I made the point about TRUE becasue it seems that you never set it to TRUE, you just add the correct prefix.

    Posted 1 year ago #
  14. Yeah, that was a little confusing. Thanks for clarifying.
    FYI, I just recieved an email from the bbpress dev mailing list about this being updated. It is now less confusing on the config sample to.

    Posted 1 year ago #
  15. Solved my problem. It was coming from

    #
    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.
    #
    $bb->wp_home = false; // WordPress - Options->General: Blog address (URL) // No trailing slash
    #
    $bb->wp_siteurl = false; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    I had set the urls only to domain.com/directory, when I added the http and www it worked fine.

    Posted 1 year ago #
  16. I need a bit of help still with the login issue

    My config for this section

    // The rest is only useful if you are integrating bbPress with WordPress.
    // If you're not, just leave the rest as it is.
    $bb->wp_table_prefix = 'wp_'; // 'wp_'; // WordPress table prefix.
    $bb->wp_home = 'http://www.energizedeating.com/blog'; // WordPress - Options->General: Blog address (URL) // No trailing slash
    $bb->wp_siteurl = 'http://www.energizedeating.com/blog'; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    // Use the following line *only* if you will be loading WordPress everytime you load bbPress.
    //define('WP_BB', true);

    /* Stop editing */

    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( BBPATH . 'bb-settings.php' );

    ?>

    Thanks,

    Gary

    Posted 1 year ago #
  17. Everything looks fine to me, although I could be wrong! Might seem a silly question but does your wp dtabase definitely have the 'wp_' prefix?

    Also there's a chance that there's a error somewhere else in the config file. I had to reinstall just to be certain after I corrected my config. I knew immediately everything was fine becasue during the setup I asked presented with a drop-down list of users to choose from. Previously (When I had the config wrong) I didn't.

    hth
    Phillip

    Posted 1 year ago #
  18. Hi Philip,

    Thanks for the advice. I do have the right table prefix. What I see as the issue is that the first time I installed, it let me select users from a list. Each time I have done a reinstall, it does not, it keeps the same each time. Is something not being done by me in the reinstall to cause that.

    Gary

    Posted 1 year ago #
  19. When you do a re-install are you dropping the tables from the database? I'm afraid I'm not an expert and that's the only thing I can think of, sorry!

    hth
    Phillip

    Posted 1 year ago #
  20. I am dropping them. Thanks for the help though.

    Gary

    Posted 1 year ago #
  21. garymill,

    Login problem:
    wp_home and wp_siturl will only work if the url for your forums is a "subdirectory" of the url for your WordPress blog. If that is not the case, you'll need the more fine-grained control mentioned in the Cookie integration with WordPress Documentation

    Installation problem:
    on Installation, bbPress looks to see if there are any keymasters in the User Tables already. You'll need to go to your usermeta table and delete the entry:

    meta_key = $bb_table_prefix . 'capabilities' (example: 'bb_capablities')
    meta_value = a:1:{s:9:"keymaster";b:1;}

    This part of the installation will have to change in the next version for several reasons. The difficulties you're seeing is one of them.

    Posted 1 year ago #
  22. Thank mdawaffe! I have solved this problem. It looks working fine when I moved BBPress into a sub-directory of my Wordpress.

    Posted 1 year ago #
  23. In wp_user meta data I have this line

    wp_capabilities a:1:{s:13:"administrator";b:1;}

    Should this be deleted?

    Gary

    Posted 1 year ago #
  24. What table Should I look for the keymaster line, maybe what I just posted above is somehting else.

    My forum is a subdirectory of my blog by the way.

    Gary

    Posted 1 year ago #
  25. garymill, it should be in your wp_usermeta table. Can you search that table for keymaster?

    Posted 1 year ago #
  26. I do not have that entry it seems.

    Gary

    Posted 1 year ago #
  27. if i do delete that entry in my database i get this error on my page

    bbPress database error: [Unknown column 'meta_key' in 'field list']
    SELECT meta_key, meta_value FROM wp_usermeta WHERE user_id = '1'

    bbPress database error: [Unknown column 'meta_key' in 'where clause']
    SELECT * FROM wp_usermeta WHERE user_id = '1' AND meta_key = 'bb_capabilities'

    bbPress database error: [Unknown column 'meta_key' in 'field list']
    INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( '1', 'bb_capabilities', 'a:1:{s:6:\"member\";b:1;}' )
    admin

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.