Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can’t Login…

  • Integrated WordPress with bbPress. I’ve added the integration plugins. But can’t get logins to work in bbPress.

    I pre-registered a few new users in WordPress. Can login fine in WP. But I can’t even seem to login as admin in bbPress even to write/comment on a post – regardless of admin or other users. Can see an admin screen, but not allowed to do anything there without login – which I can’t do.

    No error message comes up. I login, checks the database and returns to the screen. Doesn’t matter which login link I’m using in bbPress, I can’t create/edit a thread, nor can I gain admin access.

    Any ideas?

Viewing 23 replies - 1 through 23 (of 23 total)
  • Anyone have ideas about me not being able to login?

    After you try to login, does it still display the login form or does it instead show you the profile, admin, and logout links?

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    if you added this in your config.php, you will be able to user the wp tables during the bb login process. However, i dont what to do in order to allow only ONE point of entry to establish the session.

    I think I am having the same problem, when i log in to WP and then go to bbpress the user name field is populated with my wp username and the password field is blank. Any leads??


    devils_advocate
    Member

    @devils_advocate

    I have the problem described by DawudM (above) – so to answer mdawaffe’s question:

    “After you try to login, does it still display the login form or does it instead show you the profile, admin, and logout links?”

    it show’s the first page of bbPress with the login info correct in the header (two fields with entered text); the correct account in the body with “first post!” etc but unable to add, delete, initiate etc – anything.

    just stuck.

    then after hitting a few of the page links (those that don’t allow you to do anything) then bbPress fails to recognize me as admin – or a user in its dbase.

    ideas?

    thanks in advance

    devils_advocate

    Are you integrating this with WP, or is it a standalone install?

    Having the same difficulties. You can check what I mean by registering on my website and trying to log on:

    http://gopokewiids.com/boards

    I set up an integrated bb and wordpress message board, and the integration is definitely working. Sadly, I can’t log in at all. No idea what’s wrong. I log on as the admin, and it just goes back to the index.php as if I never logged in. If I try logging in with false info, then it says: Login failed, this username does not exist. It’s defintely running some sort of script after I press submit, but it isn’t logging me in :(

    Suggestions? Mdawaffe, you seem to have a good undertanding, being the key master and all :D

    Please tell me the following settings:

    $bb->domain

    $bb->path

    $bb->wp_prefix

    $bb->wp_home

    $bb->wp_siteurl


    devils_advocate
    Member

    @devils_advocate

    “Are you integrating this with WP, or is it a standalone install?”

    I’m integrating bbpress into a wordpress installation…

    “Please tell me the following settings:

    $bb->domain

    $bb->path

    $bb->wp_prefix

    $bb->wp_home

    $bb->wp_siteurl

    (sorry) where would I find this information in bbpress?

    DA

    They are some of the settings you set up in bbPress’ config.php before you first installed things.


    devils_advocate
    Member

    @devils_advocate

    here is the whole config file (partially edited to protect passwords etc)

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘myDBname’); // The name of the database

    define(‘BBDB_USER’, ‘mySQLname’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘muSOLpass’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://acd.us/cms/bbpress&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Member Forum’;

    // This must be set before running the install script.

    $bb->admin_email = ‘webmaster@acd.us’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = ’30’;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = ’60’;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = ‘-5’;

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘my key #’;

    // 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 = ‘acd.us/cms’; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘acd.us/cms’; // 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’ );

    ?>

    devils_advocate:

    $bb->domain = ‘http://acd.us&#8217;;

    $bb->path = ‘/cms/bbpress/’;

    $bb->wp_home = ‘http://acd.us/cms&#8217;;

    $bb->wp_siteurl = ‘http://acd.us/cms&#8217;;

    Try those values.


    devils_advocate
    Member

    @devils_advocate

    Thanks!

    I’ll give it a go. and then come back and report.

    Devils_Advocate


    devils_advocate
    Member

    @devils_advocate

    Ok. It looks great!

    So…after having gone through this a dozen or so tries and then finding (per your excellent direction) that it’s mostly about domain structure in the config file – (and it looks like I’m not the only one) –

    a) how can I assist in making this not happen to someone else?

    b) when might there be official documentation for this type of install? (aside from the well written but short of the details I needed) article on BlogHelper ?

    thanks again – let me know where I need to report to help anyone else…..

    i have the same problem , i can login in bbpress but i can’t admin it

    this i the config values..

    $bb->domain = ‘http://www.addisababba.com&#8217;;

    $bb->path = ‘/blog/forum/’;

    $bb->wp_home = ‘http://www.addisababba.com/blog&#8217;;

    $bb->wp_siteurl = ‘http://www.addisababba.com/blog&#8217;;

    I have two WordPress blogs (2.0.5) sharing a user database and attempted to get bbPress to share that user db as well. It installed successfully, but I can’t log in either!

    I know it’s pulling the info though from my User Database, because the username in the sample post is linked to the same site I’ve set in WordPress. I checked my config.php values, and I know the syntax is correct based on the comments in config.php and the comments above, so I’m a bit confused.

    I should note that I’m attempting this on a local test server, so all my config.php values are “localhost” values (such as $bb->domain = 'http://localhost';), I don’t know if this would throw things off at all.

    whitelion, If you’re logged in, but can’t admin, it may be that there are no users with admin capabilities. This can happen if you install bbPress and then later intograte it with WordPress.

    To fix this, try setting $bb->new_keymaster = true; in bbPress config.php and then re-running /bb-admin/install.php.

    You should be able to type in your username if there are not any keymasters already. Delete that new line in config.php once you’re done.

    cvanp, Is your bbPress URL a “subdirectory” of your WP URL?

    Nope, my layout is as follows:

    http://localhost/wordpress

    http://localhost/wordpress2

    http://localhost/bbpress

    All three share the same database, with the prefixes wp1_, wp2_, and bb_. I have the second WordPress (wp2_) hacked up a bit so it uses wp1_users and wp1_usermeta, enabling me to have a Gawker Media style Blog Network (multiple blogs, single logins). I was hoping to share that wp1_ table with bbPress, and it appears to have done so, just didn’t let me log in.

    Also, I don’t get an error message, I just get directed back to the homepage as if I had done nothing.

    cvanp, if it’s not a subdirectory, it isn’t as easy. You’ll have to change WordPress’ cookies and bbPress’.

    See https://bbpress.org/forums/topic/113

    mine just doesn’t log in, if I use incorrect password it lets me know, so its reading the database kind of… but yet I can’t get in using any user name or password… I tried about every setting I can find in the forums…

    http://www.itsthatfunny.com/forum

    If I get it working I will use it on a real site (http://www.trialsoftheswitch.com )

    I tried the bb->newkeymaster setting but to no avail unfortunately.

    After making the change when i go to bb-admin/install/ it throws back the error “username not found. try again.”

    This is getting impossible to read. Please start your own, new topic, everyone.

Viewing 23 replies - 1 through 23 (of 23 total)
  • You must be logged in to reply to this topic.
Skip to toolbar