I recently upgraded my site’s installation of Tiki Wiki CMS Groupware from version 25 to version 27. I also upgraded PHP version from 7.4 to 8.3. Now the "Remember me" feature is not working and every time I visit my site I have to login again in my admin account. I tried it with different browsers and even on different computers. It is the same for other users of the site; if they return few hours later they have to login again.
I already increased those directives in php.ini
but without any effect:
- session.cache_expire
- session.gc_maxlifetime
- session.cookie_lifetime
Any idea what might be causing the problem or how can I debug it?
EDIT: Added my Tiki configuration relevant to this issue:
UPDATE: Problem seems fixed. I went to the General control panel of my Tiki site, in the second tab (General Settings). There I saw "Session storage location" was set to "Default (from php.ini)". I changed it to Database and now it does remember me 🙂 Either in old version of Tiki the default was different or the old php.ini of PHP 7.4 was different but anyway, now it is fine.
2
Answers
Please make sure the "Refresh the remember-me cookie expiration" (Preference name: cookie_refresh_rememberme) is enabled on your upgraded Tiki.
You can find it in the Settings on the "Registration & Log in" control panel (tiki-admin.php?page=login).
There could be other causes for this, but if:
…then changing it to Database should workaround. That preference (
session_storage
) is shown in the General control panel, in the second tab (General Settings).Credits
This solution was provided by Georgi Bonchev himself. It worked for him and my own site.