Topic-icon Cannot log in after logging out

Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36045 by LeGiangAnh
Hello,

I have a SC Login module at my main menu in lamgame.vn. screencast.com/t/eUAJksUu
I found that if I log out using this module, I cannot login anymore with any account: screencast.com/t/lzIi80utQ9. It looks like "The password is not correct" in Vietnamese but the font is broken (not real Vietnamese).
I can only login normally if I clear the cache in the backend.
Login by using Jomsocial doesn't have this issue: lamgame.vn/cong-dong

Please help me to solve this. I guess this is the cache issue but just guess.

Thanks,
Giang Anh
Last edit: 10 years 7 months ago by LeGiangAnh.
The topic has been locked.
Support Specialist
10 years 7 months ago #36103 by alzander
Giang,
I just created an account and tested on your site. I'm not sure what's happening with the login area as it's very strange. When I try to login, I'm brought to a completely white page with just a little bit of text. Is that what you're seeing? I think that's a session issue, which is a Joomla problem. The best way to test is to enable, temporarily, the mod_login module.. the standard Joomla Login module, and see if you have the same issue. If so, that means it's not a SCLogin problem.

Another thing I noticed was that your site looks to be affected by a bug we're investigating that is a conflict between JFBConnect and JomSocial. To fix, please disable the "Show 'logging in' popup" setting in JFBConnect. Without that, if you try to use the Login with Facebook feature on a JomSocial page, it may not reload the page.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36106 by LeGiangAnh
Hi Alex,

It's not joomla issue, please check this video: screencast.com/t/t6hbU8po
The left one is your module and the right one is joomla.
One more issue, I cannot login to my website using Facebook anymore. It reloads after I press login but remaining unlogged state.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
10 years 7 months ago #36107 by alzander
Giang,
I just looked at your site. It's definitely a session token issue, but I'm not sure why. In both of the login modules there is a hidden 'token' for the user session. The token is different for both the SCLogin module and Login module, which is not correct. They should use the same token.

The token field looks like:
<input type="hidden" name="e342b10018b000b34b2404c6573903c1" value="1">

That is being inserted by the following line in our template file, which is how it's supposed to be done:
echo JHTML::_('form.token'); ?>

Do you have any template overrides setup for the SCLogin module? Is caching or any optimization plugin enabled on your site? I'd disable anything that's meant to speed things up on your site to see if that fixes the issue.

The Facebook login is likely affected by the same issue. We'll just need to understand why the session isn't being detected correctly by our module.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36110 by LeGiangAnh
Hi Alex,

I don't use any optimization and cache extension (even the joomla one).
I tried yo disable the cache for SClogin module and it can login normally. However the Facebook login still have the issue.
I will send you the backend access now.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
10 years 7 months ago #36240 by alzander
Giang,
I switched the Caching setting in Joomla from Progressive to Conservative, and that seemed to fix things. In general, the Conservative caching option is recommended. I'm not sure why Progressive was causing issues though, but I'd recommend using that setting for now.

Please test and let me know how it goes.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #36246 by LeGiangAnh
Hi,

I can login by joomla account now but I cannot login by Facebook.
Could you please help me to check?

Thanks,
Giang Anh
The topic has been locked.