How to fix vBulletin login problems
in
Update 2007/8/3: Actually, it was the enabling of mod_expire in the new .htaccess that was causing all the issues. Turned off mod_expire and things got back to normal. The following is still an interesting stroll through vBulletin cookies.
Users reported VB forum issues starting today. We're using vBulletin 3.6.4. (We upgraded our Drupal installation for the same domain to 4.7.7 last night, so this is likely related to that. The .htaccess file seemed like a likely culprit, but it looked okay to me. After a little searching on vBulletin login issues, the following fixed the problem.)
The problem: Can't login -- immediately redirected back to login page. Not credential error. Already logged in users reported session related weirdness -- posts not showing up for some users and/or forum index info mismatch with actual forum posts.
The fix: Reset cookie domain to "blank" (was: ".wisebread.com") and cookie path to "/" (was "/").
Try this if your users are having login problems
Things to try when users have problems logging in to a vBulletin forum (via this vbadvanced.com post):
Ask users to clear cookies and restart browsers. This is really only appropriate for isolated incidents. In our case, the problem was reported by multiple users on the same day, so we tried solutions #2 and #3.
As a forum admin, reset the cookie domain and path to defaults. You can find these settings at: Admin CP -> vBulletin Options -> Cookies and HTTP Header Options
Cookie Domain: blank
Cookie Path: /
If #2 doesn't work or the domain and path are already set to defaults, try changing the domain to ".example.com". Note the leading dot!
Check out tools.php
Your vBulletin distribution comes with a script to reset various settings on your forum. This script is the only way to get back into your forum if you lock yourself out. (Eg., Bad cookie settings lock out everybody including all admins.) You only need your customer ID to run the tools.php script.
Make sure to delete the script after you're done for security reasons!
How to use the tools.php script:
Find tools.php in distribution package, in 'do_not_upload' directory.
Upload to admin directory (eg., http://www.example.com/admin/tools.php)
Run script. Enter customer ID -- the one you use to get into the member forum (check initial email).
Reset cookie domain and path to defaults. (Or whatever other settings you want to reset.)
Delete tools.php script.
Post new comment