wpmu 1.5.1 + bbpress 0902 Login Cookie Solved!
i just solved my login cookie issue after one night debugging…
i found these things:
– by default, wpmu generate auth_cookie as “wordpress”, but bbpress generate as “wordpress_xxxxx(hash)”
- wpmu not using “database secret” for cookie hashing, but it use the SECRET_SALT constant defined in the wp-config.php, bbpress using “database secret”. so the cookie result will never be the same.
you need to update your bb-config.php file to meet these situations.
assumed you’ve successfully install wpmu + bbpress, then edit your bb-config.php and add these line:
$bb->authcookie = ‘wordpress';
$bb->cookiedomain = ‘.yourdomain.com';
$bb->cookiepath = ‘/';
$bb->sitecookiepath = ”;
and try to login… voila.. you can switch to bbpress and wpmu without re-login…
- You must be logged in to reply to this topic.