Skip to:

Cookies Bug with 1.0-RC-3 and 2.8 Integration?

  • Josh Leuze


    I think I found a bug with the third RC of bbPress 1.0 and WordPress 2.8, I checked around the forums and in Trac and didn’t see this specific issue mentioned elsewhere.

    I have WordPress installed in a subdirectory, with bbPress installed below that.



    So aside from having WordPress installed in a subdirectory for testing purposes, there is nothing out of the ordinary about my install. I don’t have WordPress set up to run in the root from the subdirectory or anything, it’s totally standard.

    The issue is that when I am logged in through WordPress, I am unable to access the backend of WordPress. Any attempt to access the Dashboard or any other page on the admin area is redirected to the login page of WordPress, even though I am already logged in.

    I am able to access the admin area of bbPress, but I am unable to logout from either WordPress or bbPress.

    When I login through bbPress, I am able to access the backend of both WordPress and bbPress. I am able to logout from bbPress, but not WordPress.

    I have followed along with Sam’s basic integration screencast a few times now, I believe I am installing everything correctly, and the results are consistent.

    I have a live install of WordPress running in the root of this particular domain, so I am unable to do a test install in the root, but I have a feeling that it would run fine there and that this issue is the result of installing from a subdirectory.

    The only difference that I can see between the screencast and what I am seeing on my end is the manual cookie settings code that bbPress asks you to add to wp-config.php at the end. In the screencast, bbPress lists this code:

    define('COOKIEPATH', '/');

    But in my install, bbPress lists this code:

    define('COOKIEHASH', 'e49cd3ef5873cd2d82bbc6a99b41ebfa');

    define('COOKIE_DOMAIN', '');

    define('SITECOOKIEPATH', '/beta/wp-admin');

    define('COOKIEPATH', '/beta/');

    When I delete those three extra line from my wp-config.php file, leaving only the fourth line, the issue is resolved and I am able to login in and out from either WordPress or bbPress, and access both admin areas.

    Has anyone else encountered a problem like this? Am I skipping a step, or is one of the paths that bbPress giving incorrect?

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

  • Arturo


    see the following 3d:

    to make the integration work, change the cookie key, in wp-config and bb-config, in wp-config insert :

    define(‘COOKIE_DOMAIN’, ‘’);

    define(‘COOKIEPATH’, ‘/’);

    in bb-config:

    $bb->cookiedomain = ‘’;

    with this code i have the integration fixed.

    Sam Bauers


    I really must release the new version of the bbPress Integration plugin… I’ll do some testing against WPMU now.

    Josh Leuze


    Thanks for the information arturo84, I changed my cookie paths and now the integration is working great!

    Josh Leuze


    Just wanted to follow up with this. I tried the integration again from scratch with the same config as above, using WordPress 2.8 and bbPress 1.0-rc-3, but with the 1.0-rc-3 version of the bbPress Integration plugin.

    The integration worked flawlessly, no issues with the code that bbPress Integration outputted, I can log in and out of both bbPress and wordPress, and access both admin panels.

    Thanks for all of your hard work Sam, bbPress 1.0 is looking great!

    Sam Bauers



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