Info
- 6 posts
- 2 voices
- Started 3 years ago by kahnoya
- Latest reply from kahnoya
- This topic is resolved
Everything Works Except Cookies
-
- Posted 3 years ago #
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', '.mysite.com');
define('COOKIEPATH', '/'); -
- Posted 3 years ago #
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', '.mysite.com'); define('COOKIEPATH', '/' );But in bb-config it's part of the WP cookie speed up so:
$bb->cookiedomain = '.mysite.com'; $bb->cookiepath = '/'; -
- Posted 3 years ago #
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 = 'http://www.mysite.com';
$bb->wp_home = 'http://www.mysite.com';
$bb->cookiedomain = '.mysite.com';
$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'; -
- Posted 3 years ago #
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 ;)
-
- Posted 3 years ago #
Did it a million times. Is there anything else I can show you to troubleshoot? I really really want to make this work.
-
- Posted 3 years ago #
SOLVED!
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!
-
You must log in to post.