Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integration Problems


  • Randolf
    Member

    @randolf

    Hi all,

    Recently, I installed WordPress (2.8.3) and bbPress (latest stable 1.0.2). The integration of users works correctly, but not the single sign on not work.

    I can register in blog and the user it´s created in both and viceversa.

    But i can´t logged in in both at the same time.

    I have installed the plugin bb Integrationi in WordPress, and AUTH KEY, AUTH salt, etc… same in both config files, same in admin dashboards and add the COOKIEPATH in the wp-config…

    When I login in, in any of them, 6 cookies are created: (????? are letters and numbers, same in all the cookies)

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/bb-admin

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/bb-plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/my-plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /wp-content/plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /wp-admin

    Name: wordpress_logged_in_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C636047d6d7482fbd45
    1a89aeb9 (different hash)
    Path: /

    With the steps of this post, all is same… :(

    Any idea about what its wrong?

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

  • gerikg
    Member

    @gerikg

    If you followed everything correctly then one problem was that you just need to clear your cache/cookies/etc on your browser. That happens on FF.


    gerikg
    Member

    @gerikg

    you also need (after <?):

    in bb-config

    define( ‘COOKIE_DOMAIN’, ‘???????????’ );

    define( ‘SITECOOKIEPATH’, ‘??????’ );

    define( ‘COOKIEPATH’, ‘????????’ );

    in wp-config

    define( ‘COOKIEHASH’, ‘??????????????????’ );

    define( ‘COOKIE_DOMAIN’, ‘???????????????’ );

    define( ‘SITECOOKIEPATH’, ‘??????????????’ );

    define( ‘COOKIEPATH’, ‘??????????????’ );


    Randolf
    Member

    @randolf

    Nothing…. :(

    - bb-config:

    define( ‘COOKIE_DOMAIN’, ” );

    define( ‘SITECOOKIEPATH’, ” );

    define( ‘COOKIEPATH’, ” );

    - wp-config: (if I define as ‘/’, browser says that cookies aren´t activated…)

    define( ‘COOKIEHASH’, ‘kjdfkjhdsflhjnmnbvyuy65487dsfg521f’);

    define( ‘COOKIE_DOMAIN’, ” );

    define( ‘SITECOOKIEPATH’, ” );

    define( ‘COOKIEPATH’, ” );

    Cookies created when logging in the blog: (5 and logged_in)

    Name: wordpress_kjdfkjhdsflhjnmnbvyuy65487dsfg521f

    Content: user_test%7C1251372800%7Cbae6f2f4158922d4a5ea6fe7129c0b4f

    Path: /bbpress/bb-admin ; /bbpress/bb-plugins; /bbpress/my-plugins; /wp-content/plugins; /;

    Name: wordpress_logged_in_kjdfkjhdsflhjnmnbvyuy65487dsfg521f

    Content: user_test%7C1251372800%7C1425663f4d407424cbf508fd0dd88c92

    Path: /

    Cookies created when logging in the forum: (5 and logged_in too)

    Name: wordpress_3f168778f6e6312b9251800266faf17d

    Content: admin%7C1251373200%7C04e7ddf6961e483e878f87f5708e2437

    Path: /bbpress/bb-admin ; /bbpress/bb-plugins; /bbpress/my-plugins; /wp-content/plugins; /;

    Name: wordpress_logged_in_3f168778f6e6312b9251800266faf17d

    Content: admin%7C1251373200%7Cd494b562a6afe3aac0cd9bfb3993a3a6

    Path: /

    Now, I can stay logging with different users in blog and forums…

    Anything is wrong, but I don´t know what… :(

    More ideas…??

    P.D: Always delete all cache+cookies to test it…

    P.D2: Testing…. from this form, I can´t access to the dashboard….. damn…


    gerikg
    Member

    @gerikg


    Randolf
    Member

    @randolf

    I´m very very stupid….

    I solved the problem…

    When I copied the hashes (AUTH_KEY, SECURE_AUTH_KEY, etc…) in the bb-config, I replace the name of the variables… AUTH_KEY instead of BB_AUTH_KEY…..

    I corrected the name of the variables and NOW all work perfectly..

    Sorry for your time spent and thanks very very much for your help… :)

    Best Regards…


    Mohamed
    Member

    @mgadallah

    Thanks a lot

    I’ve got the same stupid mistake

    Thanks again

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

You must be logged in to reply to this topic.