Forum Replies Created
-
In reply to: Cookies in WP and BBpress only works on logout
I have found the problem! When i have pasted the auth key etc in wp-config.php I have been pasted the BB_AUTH_KEY etc
Be sure that in wp-config.php there is that :
define(‘AUTH_KEY’, ‘x’);
define(‘SECURE_AUTH_KEY’, ‘x’);
define(‘LOGGED_IN_KEY’, ‘x’);
define(‘NONCE_KEY’, ‘x’);
and not:
define(‘BB_AUTH_KEY’, ‘x’);
define(‘BB_SECURE_AUTH_KEY’, ‘x’);
define(‘BB_LOGGED_IN_KEY’, ‘x’);
define(‘BB_NONCE_KEY’, ‘x’);
In reply to: bbPress 1.0-alpha-6 releasedI have the same problem of cookies of previous version of alpha bbpress, with this 1.0.6
https://bbpress.org/forums/topic/cookies-in-wp-and-bbpress-only-works-on-logout#post-22901
In reply to: Cookies in WP and BBpress only works on logoutHi all
I have the same problems with wp 2.7 and bbpress 1.0.6 alpha, if I login in wordpress it logout in bbpress and viceversa.
I have put in wp-config and bb-press the same auth key – secure key and logged in key
the salts too in installation of bbpress (i have take that from wp-admin/options)
and then i have added in wp-config.php
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
and in the bb-config.php
// Start integration speedups
// WordPress database integration speedup
$bb->wp_table_prefix = ‘wp_’;
$bb->user_bbdb_name = ”;
$bb->user_bbdb_user = ”;
$bb->user_bbdb_password = ”;
$bb->user_bbdb_host = ”;
$bb->user_bbdb_charset = ”;
$bb->user_bbdb_collate = ”;
$bb->custom_user_table = ”;
$bb->custom_user_meta_table = ”;
// WordPress cookie integration speedup
$bb->wp_siteurl = ‘http://mydomain’;
$bb->wp_home = ‘http://mydomain’;
$bb->cookiedomain = ”;
$bb->cookiepath = ‘/’;
$bb->authcookie = ‘wordpress_66640defe2164fce559625e843fb6d04’;
$bb->secure_auth_cookie = ‘wordpress_sec_66640defe2164fce559625e843fb6d04’;
$bb->logged_in_cookie = ‘wordpress_logged_in_66640defe2164fce559625e843fb6d04’;
$bb->admin_cookie_path = ‘/forum/bb-admin’;
$bb->core_plugins_cookie_path = ‘/forum/bb-plugins’;
$bb->user_plugins_cookie_path = ‘/forum/my-plugins’;
$bb->sitecookiepath = ‘/’;
$bb->wp_admin_cookie_path = ‘/wp-admin’;
$bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;
// End integration speedups
Any Solutions? Really Thanks