bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Only admin can login?

(6 posts)
  • Started 1 month ago by jldean
  • Latest reply from jldean
  • This topic is resolved

Tags:

  1. jldean
    Member

    Hiya

    Running v0.9.0.2 here - http://lcd.deletelondon.com/forum/

    bbPress is installed with Wordpress, but not integrated - visitors never need to login to Worpress site, so don't think integration is necessary.

    I can login as user ID1 - admin - no problem at all so I don't think this is a cookie thing..? Have tried clearing cookies/temp files just in case.

    New users are being created in the database, and password is being emailed. When I try to login as user, it just returns the blank login form. When I try to login as a non-existent user, I get the correct 'no such user' message.

    I can see all new users in admin screen, all with usertype 'member', so that's fine.

    Please help!

    Thanks

    Posted 1 month ago #
  2. Do you have any plugins installed? If so, try disabling them and see if users can log in.

    You're running a modified template. If so, try the default template, unmodified, and see if the problem goes away.

    Do you have access to server logs? If so, look for 500 errors being logged or php errors.

    UPDATE: I just created a user and I see what's happening. Not a blank screen, they're just redirected to the login screen to log in again. Try a stock template and try disabling plugins.

    Also, there's a lot of javascript on that page. Does disabling those scripts affect anything?

    Posted 1 month ago #
  3. jldean
    Member

    Ok I switched the theme back to standard, but still have the problem. None of the extra javascript is being loaded with this theme either, so it rules that out.

    My bbpress is installed in my wordpress folder (in 'forum' subdirectory), but I haven't configured anything in bbpress admin - settings - wordpress integration... I didn't think it was necessary as wordpress only needs one admin user. Could this be the problem?

    I should add that my bbpress config.php is using require_once to call in wp-blog-header.php. This lets bbpress load the wordpress functions so I can use the wordpress header/footer in my theme. Perhaps this is causing a conflicting cookie or something?

    It just seems weird that bbpress lets me login as admin no problem?!

    Thanks

    Posted 1 month ago #
  4. Someone just posted this:
    http://bbpress.org/forums/topic/wordpress-theme-integration#post-16362

    Sounds like the same problem?

    Posted 1 month ago #
  5. jldean
    Member

    Yep that's exactly the same problem...

    Posted 1 month ago #
  6. jldean
    Member

    I think I've fixed it - fully 'integrated' bbpress and wp for cookie sharing AND user database. Now it's using the wp tables for user data, and is giving out the correct cookie... and all users can login :)

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.