Skip to:

Everything Works Except Cookies

  • You guys and gals do a great job by the way.

    I installed bbPress 1.06Beta and WP 2.7.1 on a GoDaddy server with PHP5.x and mySQL5. The WP blog is in the root directory and bbPress is under it in /forums/ directory. I followed the integration videocast exactly and everything ran smoothly. Except for the life of me I can not figure out why the cookies are not working. The only thing I can see irregular, is that one will log me out of the other. And this is what I put in the bb-config.

    define(‘COOKIE_DOMAIN’, ‘’);

    define(‘COOKIEPATH’, ‘/’);

Viewing 5 replies - 1 through 5 (of 5 total)
  • Double check your AUTH/Secure etc keys in each config file to make sure they’re exactly the same.

    In fact, copy the ones from WP into BB and manually add in the ‘BB_’ in the name.

    Also, in wp-config you should have

    // Cookies
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/' );

    But in bb-config it’s part of the WP cookie speed up so:

    $bb->cookiedomain = '';
    $bb->cookiepath = '/';

    Still does the same thing. I can log into both but they log each other out. Here’s my quick settings. Do they look right?

    // WordPress cookie integration speedup

    $bb->wp_siteurl = '';

    $bb->wp_home = '';

    $bb->cookiedomain = '';

    $bb->cookiepath = '/';

    $bb->authcookie = 'wordpress_3f597388c6109a55a322633x12345678';

    $bb->secure_auth_cookie = 'wordpress_sec_3f597388c6109a55a322633x12345678';

    $bb->logged_in_cookie = 'wordpress_logged_in_3f597388c6109a55a322633x12345678';

    $bb->admin_cookie_path = '/forums/bb-admin';

    $bb->core_plugins_cookie_path = '/forums/bb-plugins';

    $bb->user_plugins_cookie_path = '/forums/my-plugins';

    $bb->sitecookiepath = '/';

    $bb->wp_admin_cookie_path = '/wp-admin';

    $bb->wp_plugins_cookie_path = '/wp-content/plugins';

    Looks okay… Did you dump all the cookies for your site from your browser? Which I realize is a standard debugging thing for this stuff but still should be said and not thought ;)

    Did it a million times. Is there anything else I can show you to troubleshoot? I really really want to make this work.


    After troubleshooting this problem for the last 24 hours, I noticed in the screencast that sambauers installed WordPress 2.7.0 and not 2.7.1 the most updated version to this date. So I did a fresh install with WP 2.7.0 and bbPress 1.06 Alpha exactly the way he said. AND IT WORKED ON THE FIRST TRY!

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