skip to Main Content

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:

TikiWiki cookie configuration

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.

enter image description here

2

Answers


  1. 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).

    Login or Signup to reply.
  2. There could be other causes for this, but if:

    • it happens following an upgrade from Tiki 25 or anterior (and perhaps 26)
    • 2 or 3 "get_user_by_cookie failed" messages are logged (tiki-syslog.php) every time you go to the site and Tiki fails to remember you
    • and your "Session storage location" preference is set to Default

    …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.

    Session storage location preference

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search