Info
- 6 posts
- 2 voices
- Started 4 years ago by jldean
- Latest reply from jldean
- This topic is resolved
Only admin can login?
-
- Posted 4 years ago #
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 4 years ago #
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 4 years ago #
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 4 years ago #
Someone just posted this:
http://bbpress.org/forums/topic/wordpress-theme-integration#post-16362Sounds like the same problem?
-
- Posted 4 years ago #
Yep that's exactly the same problem...
-
- Posted 4 years ago #
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 :)
-
You must log in to post.