Join GitHub today
User gets logged out when trying to edit specific pages or globals #1560
When a user (with admin permissions) does access a page or globals and want's to edit them, he should stay logged in and be able to edit them.
In ~60-70% of the cases the user gets redirected to the login screen with the the error message "session expired"
There is nothing in the PHP error logs and nothing in the Statamic logs
Steps to reproduce
Operating System: CentOS release 6.9 (Final)
Web Server: Apache/2.2.15
PHP Version: PHP 5.6.31
Statamic Version: 2.6.4
Updated from an older Statamic or fresh install: Updated from older version
List of installed addons:
nothing gets logged ...
I would consider it a small to medium sized site with 37 pages and 32 entries
I'm right now uploading the zipped website to wetransfer and will send it to you in a few minutes - please be aware that "update stache on every request" is disabled at the moment. Once I re-enable this problem keeps happening again.
Clearing all caches didn't help either.
@benjamin in some cases when I had this issue it was a corrupt page *.md file - so when this issue does occur and can not be (temporarily) resolved by clearing the cache - have a look at the latest modifications to your pages (and collections and taxonomies). If clearing the cache does help, then it's most likely related to a caching issue (like the one I reported a while ago)