I had a problem like that. It was because of a database corruption. This corruption was due to the ezsession table that keeps on growing with the default Debian (and Ubuntu...) configuration of session handler in PHP. See http://issues.ez.no/10431
Hi, I have the same problem on my local Windows install of 3.10 How do I clear the cache, when I cannot log in as admin?
I also noticed when I printed out the current session content that there is a user logged in, the one that comes with the sample site install (user: anonymous, e-mail: nospam@ez.no). I assume that's because the demo package has been created while this user was logged in, so this remained int the cache files.
Can I just manually delete the files in var/cache?
It's my first week here among you guys and hope to be able to contribute soon.
I am learning by making every possible mistake.
Yesterday I experienced the same problem. Turned on debugging and also noticed a select on the ezsession table I made a back up and then truncated the table and it fixed it. I guess deleting entries specific to your user id should work.
Note there is a cronjobs script in contributions that clears up sessions. I am taking a look at it.