Skip to Content Skip to Menu

Cannot log frontend but backend is OK

  • agaudin
  • agaudin
  • OFFLINE
  • Posts: 91
  • Thanks: 16
  • Karma: 3
1 month 2 weeks ago #343247 by agaudin
Replied by agaudin on topic Cannot log frontend but backend is OK
Thanks for your time. Still, the fact that resetting manually these users password in backend always fix the problem makes me think that it is a CB problem, not a third party one.

Next time a user is blocked, I will try to take control of his profile by changing his password hash in joomla's database and make several tries.
For now, this problem is still open and I am looking for further developments.

Best regards
Antoine

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 50243
  • Thanks: 8598
  • Karma: 1470
1 month 2 weeks ago #343248 by krileon
Replied by krileon on topic Cannot log frontend but backend is OK
I would need access to an account that's doing this for me to investigate it further as I'd need to install debug builds to output debug logs to see where the process is being interrupted, but given Joomla's forgot login on frontend isn't working either it suggests something in Joomla's core user flow is being interrupted on frontend.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • agaudin
  • agaudin
  • OFFLINE
  • Posts: 91
  • Thanks: 16
  • Karma: 3
2 weeks 6 days ago #343452 by agaudin
Replied by agaudin on topic Cannot log frontend but backend is OK
Hello again

It seems the problem occurs once again : one of my user cannot connect neither reset his password.

As previously discussed, I recreated you an account to check what you need to (see hidden area below) - I hope you can find the problem.

Remember : usually we connect to backend, go to their profile, fix a temporary password and save their profile, and it is fixed. So maybe don't edit his profile or change his password at the beggining.

I changed his password to the same than your SU account below, by copying  manually the hash directly in MySQL jupbm2_users table - so this account is supposed to have now the CBuilder4ever! password BUT I didn't edit his profile to do that. Then I tried to connect with this new password on his account : and it worked. I am quite sure it comes from user device, a session or cookie problem... but still don't know where to look.
I hope you'll find the problem with this specified user ?

Best regards
Antoine
This message contains confidential information

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 50243
  • Thanks: 8598
  • Karma: 1470
2 weeks 5 days ago #343454 by krileon
Replied by krileon on topic Cannot log frontend but backend is OK
Without an account to test this issue against there isn't much for me to look at. Settings wise in CB and CBSubs I don't see any reason for this. The users account also isn't in a blocked state.

The only minor issue with your forgot login is you didn't have Joomla menu items to Joomla's forgot username and forgot password pages, which I went ahead and created them for you under the Community Builder menu type. That can sometimes cause access issues and might of been why forgot login wasn't working for those users, but is unlikely.

Another issue is with your template itself. It has no output for Joomla's message queue. So login success message doesn't even get displayed. This means errors won't get displayed either. Those errors might be able to tell the user what's wrong exactly. Your template is overriding 7 layout files that haven't been checked yet so you might what to do that.

Additionally you've multiple system messages stating you need to update your htaccess file. Possibly unrelated to the issue, but it's worth being sure your install is in top running condition. Both AcyMailing and your template are out of date as well. CB and CBSubs are stable releases and we've had several build releases since then that you may also want to consider updating to (or wait a week or 2 as we'll be working on a full round of stable releases in the coming weeks).

Without an account to test where this issue is present or without an error message of some kind there's nothing further for me to really suggest. I believe the only other time this was reported was because they had server side caching setup through cloudflare.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • agaudin
  • agaudin
  • OFFLINE
  • Posts: 91
  • Thanks: 16
  • Karma: 3
2 weeks 5 days ago #343457 by agaudin
Replied by agaudin on topic Cannot log frontend but backend is OK
Thanks for your time and look.

- I cannot give your more than yesterday : as said, I changed the database password hash to try to connect the blocked account, and it worked ! It seems to me that blocked accounts are blocked on the original machine only - browser caching issue, or session issue, I am not really clear about how sessions are really managed by Joomla. Yesterday I checked the blocked user profile in database (both joomla and CBuilder tables) and nothing caught my eyes.

- I am not sure other joomla' template send back a login success message (I tried on a cassiopea site and didn't see anything). I am sure my template sends back login error messages, see below.
  

-  The YT template and Acymailing updates where minor ones, waiting since the last week more or less - I have the problem since two years so there is nothing to do with it. I don't use any override that's the reason why I don't always mark as "checked" layout files after each template update (there is template updates almost every week). The htaccess update messages are just messages I didn't archive, not real local infos. I think we may  put away those questions.

Thanks for the next one : 

The only minor issue with your forgot login is you didn't have Joomla menu items to Joomla's forgot username and forgot password pages, which I went ahead and created them for you under the Community Builder menu type. That can sometimes cause access issues and might of been why forgot login wasn't working for those users, but is unlikely.


I will keep exploring, and hoping that I will be blocked myself one day to test several browser's option and try to get what happens.

Best regards
Antoine
 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 50243
  • Thanks: 8598
  • Karma: 1470
2 weeks 5 days ago #343460 by krileon
Replied by krileon on topic Cannot log frontend but backend is OK

I am sure my template sends back login error messages, see below.

Can you translate what that says?

I don't use any override that's the reason why I don't always mark as "checked" layout files after each template update (there is template updates almost every week).

Your template has layout overrides for core Joomla layouts so that's probably what it's wanting you to check.

I don't really have anything further to suggest. This just doesn't make any sense. From the sounds of it somewhere somehow the password is being overwritten in the database if they're getting in invalid password message when attempting to login. I've no idea what would be doing that though. At some point, seemingly randomly?, their password changes. Is there anything the user, or in the case when it happened to your account you, were doing at the time before it happened? Updating profile maybe?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum