Cookies in WP and BBpress only works on logout
-
Hi!
I´ve tried a WordPress and BBpress integration and it works just fine, i´ve have added all the cookie information in both config files of WP and BB press but it still doesnt work on login, only on logout.
My WP:
define(‘AUTH_KEY’, ‘halmstad’);
define(‘SECURE_AUTH_KEY’, ‘halmstad’);
define(‘LOGGED_IN_KEY’, ‘halmstad’);
define(‘NONCE_KEY’, ‘halmstad’);
define(‘SECRET_KEY’, ‘halmstad’); // Change this to a unique phrase.
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);`
BB:
define(‘BB_SECRET_KEY’, ‘halmstad’); // Change this to a unique phrase.
$bb->wp_siteurl = ‘http://www.domain.se/’;
$bb->wp_home = ‘http://www.domain.se/’;
$bb->wp_table_prefix = ‘wp_’;
$bb->custom_user_table = ”;
$bb->custom_user_meta_table = ”;
$bb->authcookie = ‘wordpress_456c71223b3bb9958349ec3d65b850f6’;
$bb->cookiedomain = ”;
$bb->cookiepath = ‘/’;
$bb->sitecookiepath = ‘/’;
Can anyone spot the problem?
- You must be logged in to reply to this topic.