Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Cookie Integration only one way

I’m not an expert but this is what I noticed

WP-CONFIG

you had..

/** Braucht man für die Cookie-Integration von bbpres laut bbpress-integration */

/*define( ‘COOKIEHASH’, ‘1111’ );*/

define( ‘COOKIE_DOMAIN’, ‘.[gerikgtookout].de’ );

define( ‘SITECOOKIEPATH’, ‘/’ );

define( ‘COOKIEPATH’, ‘/’ );

when you’re using WPMU you need those when you’re using WP you just need the cookiepath. It was probably my fault because of my previous posts.

the cookiepath must be at the top for it to work, I don’t know why but it does. I added define( ‘COOKIEPATH’, ‘/’ ); to the top

The keys I took from https://api.wordpress.org/secret-key/1.1/salt not https://api.wordpress.org/secret-key/1.1/ which they recommend. It has 8 keys. I also copied the same keys into the bb-config file but added “BB_” to the beginning.

BB-CONFIG

It looks like you were using an old config file (you must of upgraded?) I took the config file from the new version and just plugged in your information. I added define( ‘COOKIEPATH’, ‘/’ ); to the top just like WP. I also added if (file_exists(‘../wp/wp-load.php’))

require_once(‘../wp/wp-load.php’); for deeper integration (for you to use WP functions in bbPress) which I think you were already, or trying to. I logged into your admin section in bbpress and notice you wrote “http://[gerikgtookout].de” as your wordpress URL but it should of been “http://[gerikgtookout].de/wp” clicked save and everything worked fine.

Skip to toolbar