I’m not sure I have much more to offer on this one. I can tell you that “Current user is:” should have a user name after it that comes from $GLOBALS. I can also tell you that “user_id” should not be = ‘’ (should have your UID GUID) both on SecuritySuite and ACL_Roles. I’m not sure where those get their data, but likely from $GLOBALS or the session.
I tend to think this isn’t a DB problem, as I would’ve expected an error relating to not finding the user…
If I were troubleshooting this on my system, I would put a bunch of $GLOBALS[‘log’]->debug(‘Messages’); in SugarApplication.php, User.php, and SugarAuthenticate.php to try and track down what is happening. I like to start my messages with a unique string, so I can find them more easily buried within the other Debug messages. Some people make their messages ‘error’ or ‘fatal’, so they don’t have to have the log set to DEBUG, but I want the extra DEBUG information anyway to see what was going on around my messages.
Is this a new install? I assume you already tried wiping it and trying again fresh if so?
I’ve solved the issue for me. I finally dug deep and found out my hosting provider was using Varnish as a server side caching tool. Disabling Varnish solved my problem. Goodness gracious. Well, if anyone else has this problem and has server side caching, try disabling it and see if that fixes the problem!
“Stuck in Login Loop “logged out because your session has expired”” could be a problem with your login form from your template. Password field: user_password changed to username_password
Reset your password - change to the default suitecrm template, everything is fine or fix it modules\Users\Authentucate.php
I had the same problem some hours ago, during the installation of an update LTS 7.8.5 to 7.8.10
@andrelindner that is only for a specific version of SuiteCRM, and only for people using third-party add-ons which conflict with it, namely the SuitePImproved theme or another log-in add-on whose name I don’t remember.
This was the answer. I’d just run an upgrade from 7.9.xx to 7.9.11 and could log in on a mobile device but not desktop. Must have been using a different template for mobile…? Anyway, all works again now.