daudev (@daudev)

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • It works when i login first in bbpress, then I’m logged in wordpress also, but first in wordpress and then in bbpress is not working!

    I don’t need to clear the cache, just the cookies, but yes I did, i cleared both!

    Still the same, logged in the wordpress, not logged in the bbpress but can do it.

    only with define( ‘COOKIEPATH’, ‘/’ ); in the both files!

    But i look very carefully into the cookies.

    I found 2 differences!

    First for wordpress cookies

    login cookie is with name wordpress_logged_in_xxxxx and path /

    and other cookies are with path /wp-admin, wp-content/plugins, /forum/bb-admin /forum/bb-plugins

    and for the bbpress cookies are

    wordpress_xxxxxxx and path /

    and other cookies are with path

    website.com/wp-admin

    website.comwp-content/plugins

    website.com/forum/bb-admin

    website.com/forum/bb-plugins

    I think this is the problem, but I don’t knew how to fix it, to have path without the host in bbpress cookies…

    We have progress, now I can login in wordpress and after that in bbpress and to be active logged in the two sites, but I’m not automaticaly in bbpress, when I login into wordpress :(

    gerikg unfortunately i’m using wordpress not MU!

    Still the same here, but i found something else.

    I have two sets of identical cookies, but there is one difference

    I have domain .website.com in the one

    and host website.com in the other, but i don’t knew why…

    in my wp-confing.php

    $wp->cookiedomain = ‘.website.com’;

    $wp->cookiepath = ‘/’;

    $wp->sitecookiepath = ‘/’;

    define( ‘COOKIEHASH’, ‘xxx’);

    define(‘COOKIE_DOMAIN’, ‘.website.com’);

    define(‘COOKIEPATH’,’/’);

    define(‘SITECOOKIEPATH’, ‘/’);

    and in bb-config.php

    $bb->cookiedomain = ‘.website.com’;

    $bb->cookiepath = ‘/’;

    $bb->sitecookiepath = ‘/’;

    define(‘COOKIE_DOMAIN’, ‘.website.com’);

    define(‘COOKIEPATH’,’/’);

    do you have any ideas?

    I found one problem with missing cookie domain in wp_config file and fixed it, but the thinghs are more wired now.

    When i log in from bbpress i’m NOT logged in wordpress but can do it, opposite when i log in from wordpress i’m not logged into bbpress and can’t do it.

    if i login with 2 different users first from bbpress and then from wordpress i have 2 sets with identical cookies just with different username. If I use same user to login i have just one set of cookies with all the admin paths. I don’t have different cookie hash!

    One thing I found and maybe this is the problem, I don’t have database secret in bb-admin/options-wordpress.php. I don’t knew where i can find this. If I can find it and manually change it in the database.

    I’m using bbpress 1.0.2 and wordpress 2.8.6

    I still have the same problem, I’m logged in the WordPress, but can’t log-in in the BBPress. The strangest thing is that the cookies are the same and wordpress_logged_in is with / path. I also have cookie with path to bb-admin folder , but I’m still not logged into the BBAdmin. Any ideas where is the problem?


    daudev
    Member

    @daudev

    Hi,

    i tried to integrate my wordpress 2.8.6 and bbpress 1.0.2. I think I made everything as the description. Bbpress now uses wordpress database, I fixed also the keymaster role from the db directly. But i still have one problem. When i log in from wordpress, I’m not logged in bbpress. I think it worked one or two times, but now it’s not working.

    Freshly Baked Cookies plugin is not working, is that the problem and if the plugin is working will be the integration ok?

Viewing 9 replies - 1 through 9 (of 9 total)