jannisl Posted October 10, 2017 Share Posted October 10, 2017 Hey guys, I never had problems with PW but now I have a strange problem with frequent logout issues. As an example: When I click in the CKEditor at the Image Button then Processwire asks me to login. What I tried: $config->sessionFingerprint = false; $config->sessionFingerprint = 8; Session Handler Database I don´t know how to solve the problem. This is what phpinfo() outputs: Directive Local Value Master Value session.auto_start Off Off session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_httponly On Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file /dev/urandom /dev/urandom session.entropy_length 32 32 session.gc_divisor 1000 1000 session.gc_maxlifetime 86400 1440 session.gc_probability 0 0 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.lazy_write On On session.name wire PHPSESSID session.referer_check no value no value session.save_handler user files session.save_path /var/lib/php/sessions /var/lib/php/sessions session.serialize_handler php php session.upload_progress.cleanup On On session.upload_progress.enabled On On session.upload_progress.freq 1% 1% session.upload_progress.min_freq 1 1 session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS session.upload_progress.prefix upload_progress_ upload_progress_ session.use_cookies On On session.use_only_cookies On On session.use_strict_mode Off Off session.use_trans_sid 0 0 Do you have any ideas how to solve this problem? I already updated PW but it didn´t help. Link to comment Share on other sites More sharing options...
abdus Posted October 10, 2017 Share Posted October 10, 2017 What does your session log show? (Setup > Logs > session) Also, I'm having a similar issue. Session cookie is set to expire with session, so it asks for password at least once an hour. Link to comment Share on other sites More sharing options...
jannisl Posted October 10, 2017 Author Share Posted October 10, 2017 The Session Log shows everything fine. But I have the same Cookie Problem. Link to comment Share on other sites More sharing options...
flydev Posted October 10, 2017 Share Posted October 10, 2017 Guys, could be related to this ? (the last updated answer) 2 Link to comment Share on other sites More sharing options...
jannisl Posted October 10, 2017 Author Share Posted October 10, 2017 Yes, this was problem. Thanks for help!! Link to comment Share on other sites More sharing options...
abdus Posted October 10, 2017 Share Posted October 10, 2017 Unfortunately, it's not the case with my setup. To make sure there aren't any broken images I cleared all CKEditor and image fields, yet the issue persists. Link to comment Share on other sites More sharing options...
Robin S Posted October 10, 2017 Share Posted October 10, 2017 @jannisl, @formulate, I can't reproduce the issue here (maybe it depends on what you have set in "HTML Options" on the Details tab of the CKEditor field settings), but if you are able to work out the steps for reproducing the problem could you please file a GitHub issue so it can be fixed in the core? Link to comment Share on other sites More sharing options...
formulate Posted October 16, 2017 Share Posted October 16, 2017 It's been a while since I had these issues, but yes it's definitely tied to some setting in CKEditor as not everyone seems to have this issue. As Robin mentioned, it's most likely one of the image related settings in CKEditor under the "HTML Options" settings. One of those checkboxes is messing with things. I haven't had time to try and debug/test it further, but that's where my suspicions are at. Link to comment Share on other sites More sharing options...
LAPS Posted January 9, 2022 Share Posted January 9, 2022 I confirm that the CKeditor image is the problem... with ProCache! I'm using ProCache and if I disable it, all works: the image is shown and I (the admin user) am not logget out. It also works if ProCache stays enabled and I set in ProCache > CDN > CDN status > "Enabled for guest visitors only". Maybe there is a bug somewhere. @ryan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now