You have been logged out because your session has expired - any clues please?

I run the latest SuiteCrm on a local Centos 7.x with remi php7.20 (latest) server.
It’s now a few years old - upgraded many times,
Every now and then a little problem. These problems have always been seen/found by others in their installations as well and the suggested fixes have always worked.

Oh and the email stopped working about a year ago and nothing seems to make it work - but I can live with that. It used to email, I really wish it would email again. The other web apps email with no problems at all.

4 weeks ago I decided I was going to https the server and I did. I have done several other https setups on servers.
On the server I am talking about the other web applications all work fine on https .
I have been trying to restore crm functionality. In desperation I removed https and went back to http.

I have looked at every post about this issue and checked my installation. Reviewed changes I made to the url in config.php
I did a database dump and and checked the oauth2 tables - they are there - no tokens present - so I am assuming there’s no stale logins.
I think the login page is simply not processing the login at all - it returns with the error? message immediately.
I have disk space - plenty
I removed old sessions files - I have them in /tmp - isolated server
no error messages in the crm log files
no error messages in the http log files
just wont login.

At the login screen I can enter valid or invalid credentials and I still get the message You have been logged out because your session has expired. Even for accounts that have never existed.

Any one got a clue for me please?

  1. What is your version of SuiteCRM?

  2. Are your current problems with HTTP or HTTPS?

  3. Do you have the add-on theme SuitePImproved installed? It’s incompatible with the newer versions of SuiteCRM, unless you upgrade the add-on also

  4. Do you have any other add-ons that change the login screen? They are also incompatible.

  5. What errors do you see in your logs at the time of failed logins? Check both suitecrm.log and php_errors.log