Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cookie/login problem wp2.7 and bbpress alpha 6

  • Hello.

    Installed wp2.7 in root dir, and bbpress alpha 6 in sub-dir. Enabled permalinks, added code to htaccess in sub-dir.

    Test 1. Logging in to wordpress admin.

    Navigate to comments: shows logged in as admin user

    Navigate to forum: not logged in

    Navigate to forum admin: not logged in

    Test 2. Logging in to bbpress admin.

    Navigate to comments: does not show as logged in as admin user

    Navigate to wp admin: logged in as admin

    Is this how it’s supposed to work?

    More info:

    After adding the following lines of code to the wp-config file:

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    This does not change anything except, if I am logged in to the WP Admin, I can not log out. Clicking Log Out presents:

    “You are attempting to log out of The Site

    Please try again.”

    Am I missing something with the code above? Should I be adding the domain name somewhere?

    I appreciate your help.

Viewing 1 replies (of 1 total)
  • Update:

    (Nevermind this stuff below. WP does this even without bbpress, it may be the template.)

    Removed the cookie code from wp-config above.

    Checked “must be logged in to post comment” option in WP Discussion options.

    Logged in with a Subscriber account. Posted comment. Tried to click “Logout” on comments page. Continue to get error:

    “You are attempting to log out of The Site

    Please try again.”

    Difference between the URLs in admin vs comments page.

    Admin “logout” url: ****/wp-login.php?action=logout&_wpnonce=stringofcharacters

    Comments “logout” url: ****/wp-login.php?action=logout

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.