Skip to:
Content
Pages
Categories
Search
Top
Bottom

cookie integration problem wp2.8 – bb 1.0 rc-2


  • Arturo
    Participant

    @arturo84

    i’ve upgraded wp from 2.7.1 to 2.8, checked all the key for the cookie and

    AUTH_KEY in wp-config is the same of BB_AUTH_KEY in bb-config, the same for SECURE_AUTH_KEY – BB_SECURE_AUTH_KEY,

    LOGGED_IN_KEY – BB_LOGGED_IN_KEY, NONCE_KEY – BB_NONCE_KEY.

    i’ve installed and activated the plugin bbPress Integration 1.0-rc-2 configured with the url of bbpress (http://www.site.com/forums/) saved the option, copy/past in wp-config.php for the “code” in the box which is:

    define(‘COOKIEHASH’, ‘e99db1aecc456188d6dc1ccc37528ff8’);

    define(‘COOKIE_DOMAIN’, ‘.www.site.com’);

    define(‘SITECOOKIEPATH’, ‘/wp-admin’);

    define(‘COOKIEPATH’, ‘/’);

    i’m able to login in bbpress side, and i see the cookie wordpress_e99db1aecc456188d6dc1ccc37528ff8 for /forums/bb-admin, /forums/bb-plugins, /forums/my-plugins, /wp-admin, /wp-content/plugins and /.

    i’ve other 2 cookies bb-user-settings-1 and bb-user-settings-time-1 for /forums/bb-admin.

    when i try to go in wp-admin i’m slogged from wp and 2 new cookies appear, wordpress_test_cookie.

    when i try to login in WP side i’m redirected to the login page every time.

    if i remove the code generated by the Sam’s plugin i can login but i’m logged out from bbpress…

    how resolve this problem? thanks for the help.

Viewing 15 replies - 26 through 40 (of 40 total)

  • Arturo
    Participant

    @arturo84

    in bb-config.php:

    define( ‘BB_AUTH_KEY’, ‘mathes WP-config key’);

    define( ‘BB_SECURE_AUTH_KEY’, ‘mathes WP-config key’);

    define( ‘BB_LOGGED_IN_KEY’, ‘mathes WP-config key’);

    define( ‘BB_NONCE_KEY’, ‘mathes WP-config key’);

    $bb->cookiedomain = ‘www.volleyballnh.com’;

    don’t forgot to generate a new cookie key on wp.org site.

    in wp-config.php:

    define( ‘AUTH_KEY’, ‘mathes BB-config key’);

    define( ‘SECURE_AUTH_KEY’, ‘mathes BB-config key’);

    define( ‘LOGGED_IN_KEY’, ‘mathes BB-config key’);

    define( ‘NONCE_KEY’, ‘mathes BB-config key’);

    define(‘COOKIE_DOMAIN’, ‘www.volleyballnh.com’);

    define(‘COOKIEPATH’, ‘/’);

    STOP.

    i’m wp2.8 (not mu) and bbpress 1.0 rc-3 all works without problem with this configuration

    Thanks. I have generated new cookie keys and configured both config files as outlined in your post. Unfortunately, logging into one dashboard, logs me out of the other as before. Glad it’s working for you though. I removed the security key from both files with no apparent change in functionality or access.

    I will keep investigating.


    Arturo
    Participant

    @arturo84

    have you deleted the cookie?

    Afraid so… Deleted cookies (and everything else), restarted, tried different browsers (IE, Chrome, Firefox).

    Same old Same Old… I assume the integration is meant to work so that a user could conceivably login to the website, and then move to the bbforum without having to log back in. It’s one thing to be unable to access admin privileges without logging in but if users have to log in multiple times, they will be gone in a hurry I think!

    I will watch carefully for updates as I know Sam was talking about tweaking the integration plugin. Thanks for your help and patience.


    Arturo
    Participant

    @arturo84

    is possible for you past in nopaste your bb-config and wp-config?

    http://nopaste.com/p/atRHKbQ83

    http://nopaste.com/p/auNURHMK9

    I removed passwords and host names for obvious reason…


    Arturo
    Participant

    @arturo84

    delete this 2 line from bb-config:

    define(‘COOKIE_DOMAIN’, ‘.www.volleyballnh.com’);

    define(‘COOKIEPATH’, ‘/’);

    change the cookie key, delete your cookie and try again the login.

    Done. New Keys. New Code. Same Problem. [Sigh….]


    Arturo
    Participant

    @arturo84

    ok download the latest version of bbpress integration plugin bu Sam now is available the version rc-3 too…


    infected
    Participant

    @infected

    Hi!

    Having the same problem here: I can´t login to bbpress & wordpress at the same time. I´m using wp 2.8, bbpress 1.0 rc3 and the bbpress integration plugin 1.0-rc-3


    infected
    Participant

    @infected

    Could solve my problem by adding new keys to wp & bbpress.

    @infected

    So, you did solve the problem? I tried generating new keys in both config files with no look unfortunately. Is there something in the step by step process I am missing? Thanks in advance.

    wp-config.php file:

    define( ‘AUTH_KEY’, ‘mathes BB-config key’);

    define( ‘SECURE_AUTH_KEY’, ‘mathes BB-config key’);

    define( ‘LOGGED_IN_KEY’, ‘mathes BB-config key’);

    define( ‘NONCE_KEY’, ‘mathes BB-config key’);

    Integration works! I finally figured out that every time I accessed the options.php file on the WP side, it was kicking me out of bbpress admin. So every time I entered the Auth_Salt and the Logged_in_salt, they were not being retained. What a dummy! So simple… Hope this helps others noobs while the veteran techies are laughing at me!

    3 days that I’m trying to find a solution and finaly it works ! (WordPress 2.8 + bbPress 1.0 rc3).

    My solution, for a WordPress in the root and bbPress in a folder:

    1) I don’t use the bbPress integration plugin for WordPress

    2) Default wp-config and bb-config

    3) Simply put AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY in the two config file (and double check that it’s the same)

    4) Go to good ol phpMyAdmin and check that:

    in bb_meta: in wp_options:

    bb_auth_salt = auth_salt

    bb_logged_in_salt = logged_in_salt

    bb_nonce_salt = nonce_salt


    Markus Pezold
    Participant

    @markus-pezold

    Hi ced,

    thanks for your post – your hint (phpMyAdmin) was great!

    Cookie-Integration works perfekt after the update to Version 1.0-rc-3 and a few changes in phpMyAdmin – without the bbPress integration plugin.

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