1 (edited by thorbjornw 11/27/2026 10:13:39 pm)

Topic: Update from 2.4.16 to 2.4.20 Repeated logout

I have updated from 2.4.16 to 2.4.20. It is installed on a Linux Mint 22.3 LAMP PC for local network and SSL is not activated. I have changed the sessions.inc to define('SECURE_ONLY', false); to permit http access, as we really don't need https as it is only accessed from within our small company.
I have changed the /etc/mysql/mysql.conf.d to include sql_mode = "NO_ENGINE_SUBSTITUTION", and in /var/www/html/frontaccounting2/includes/db/connect_db_mysqli.inc  define('DB_DUPLICATE_ERROR', 1062);
define('SQL_MODE', 'NO_ENGINE_SUBSTITUTION');
Now I can log in and make GL entries and it seems to work fine. However, each time I click on a new tab, I am sent back to login again. Quite annoying.
I have set session.cookie_secure = 0 in php.ini.
I can't see anything interesting in the apache2 error.log.
Any advice?