The MU forums have moved to WordPress.org

Integrate with bbPress, cookie problem (redirected to /wp-login.php) (2 posts)

  1. mjjinvincible
    Member
    Posted 14 years ago #

    I'm trying to integrate Wordpress MU 2.8.3 and bbPress 1.0.2

    When I access my site through Wordpress everything works fine, I see myself logged in at bbPress and I can access the admin area. When I access my site through bbPress and then go to /wp-admin/, it redirects me here: /wp-login.php?redirect_to=http%3A%2F%2Fwww.mydomain.com%2Fwp-admin%2F. I can fill in the login name and password, and it'll let me in, but it should just appear the dashboard in the first place...

    I've followed Sam's screencast (to integrate these), step by step, and tried it over three times with fresh installs... but still happens the same. But I don't know, maybe I'm missing something.

    First I install Wordpres Mu. Then I go to the bbPress installation page. I fill in everything to integrate it with Wordpress. Then I map the user registrations, although I have also left this step for the last one in another installation/integration. I go Wordpress, download the bbPress plugin, copy the cookies configuration, paste it into wp-config.php. The I delete all the cookies and temp files in my browser.

    It's strange, cause when I go to the home page of the site I can see I'm logged in:

    WordPress ยต

    This is a WordPress Mu powered site.

    You can:

    * Site Admin
    * Log out

    * Create a new blog
    * Edit this file at wp-content/themes/home/home.php with your favourite text editor and customize this screen.

    But it still won't access the administration dashboard. I've tried registering another user giving it administration control, but the redirection thing still happens.

    These are the cookies when I access the admin areas:

    After Wordpress login:

    wordpress_logged_in_*****************
    wordpress_*************
    bb_user-settings-time-1

    After going from Wordpress Admin Dashboard to bbPress Admin Dashboard:
    wordpress_logged_in_*****************
    wordpress_*****************
    wordpress_*****************
    wordpress_test_cookie
    bb_user-settings-time-1
    wp-settings-time-1
    wp-settings-1

    I delete all the browser's cookies and do the opposite.

    After bbPress login:
    wordpress_logged_in_*****************
    wordpress_*************
    bb_user-settings-time-1

    After going from bbPress Admin Dashboard to Wordpress Admin Dashboard:
    This is when the redirection problem comes in!
    wordpress_test_cookie
    wordpress_logged_in_*****************

  2. parkstreet
    Member
    Posted 14 years ago #

    Check out this thread for troubleshooting your issue.

About this Topic

  • Started 14 years ago by mjjinvincible
  • Latest reply from parkstreet