Skip to:
Content
Pages
Categories
Search
Top
Bottom

Trouble with admin user and getting started


  • kenburcham
    Member

    @kenburcham

    Hi guys, I installed and uninstalled bbpress (1.02) several times and keep getting the same result:

    After installation (with no integration) into a clean database and fresh unzip of the files (and even trying a couple of different browsers), I login as admin and get redirected to the forums page. I can logout, login, restart browser, try a different browser, etc. to no avail.

    so I delete the database, delete the directory, reunzip, reinstall and end up with no joy in the same place.

    maybe a hint: after I login with admin username/password, i get a 404 on: http://mysite.com/bbpress/bbpress

    i have to delete the second bbpress it is adding from somewhere in its misty innards and then i’m logged in as admin, albeit not very powerful admin who can’t get anywhere or do anything.

    bout to give up here and go with something else. love to get some guidance!

    thanks…

    ken.

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

  • kenburcham
    Member

    @kenburcham

    Resolved:

    Here was the problem (this is probably a bug).

    At the apache level we are requiring ssl on the server I’m installing bbpress on.

    When I login as the admin user, it sets the cookie in “auth” not “secure_auth” mode, but then when it goes to check for the admin cookie, it checks “secure_auth” mode because the connection is https.

    the workaround was to add:

    define (‘BB_FORCE_SSL_ADMIN’, true);

    to my bb-config.php file. Log out and log in. Then the admin cookie is set in a way that it can be correctly validated.

    Now I can login as admin.


    kenburcham
    Member

    @kenburcham

    Resolved:

    Here was the problem (this is probably a bug).

    At the apache level we are requiring ssl on the server I’m installing bbpress on.

    When I login as the admin user, it sets the cookie in “auth” not “secure_auth” mode, but then when it goes to check for the admin cookie, it checks “secure_auth” mode because the connection is https.

    the workaround was to add:

    define (‘BB_FORCE_SSL_ADMIN’, true);

    to my bb-config.php file. Log out and log in. Then the admin cookie is set in a way that it can be correctly validated.

    Now I can login as admin.


    arnodevries
    Member

    @arnodevries

    Wow, this did the trick for me. You made me a happy man :-)


    arnodevries
    Member

    @arnodevries

    Wow, this did the trick for me. You made me a happy man :-)

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar