• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Some users are logged out without a reason

estranged

Well-known member
#1
Some of my users have reported that after logging in to the site, they find themselves logged out after clicking on alerts etc and they get a "you have to be logged in to do that" kind of message. They say this does not always happen but most of the time they have to log in twice.

I could not reproduce this issue myself, however what these users have common is they all have XenForo_Authentication_vBulletin in xf_user_authenticate table. (this is a vb import)

Any ideas?
 

Jake Bunce

XenForo moderator
Staff member
#2
If there was a problem with the password then your users would get an error on login.

I just registered on your site and tested the login system. I have not been able to reproduce the problem you described. Perhaps one of your users can provide you with their login so you can test it? At this point we still need to reproduce the problem.

I noticed a different problem during my testing. Your rewrite rules to remove the "www" from the URL aren't working properly. Click this link and you will see the problem:

http://www.turkrock.com/forum/
 

estranged

Well-known member
#3
Thanks for your reply Jake.

I'll request the login details and try to reproduce it myself.

I noticed a different problem during my testing. Your rewrite rules to remove the "www" from the URL aren't working properly
Yes I am aware of that issue and I've been trying to fix that actually but not sure how. I used this method to remove www in my urls and then tried this. Both of them are causing the same problem.

This is what I have currently in my .htaccess

Code:
RewriteCond %{HTTP_HOST} www.turkrock.com$
RewriteRule ^(.*)$ http://turkrock.com$1 [R=301,L]
 

Brogan

XenForo moderator
Staff member
#6
Is the logging out issue now resolved?
It's possible it was related to the rewrite due to swapping between domains.