Open Len16-53 opened 6 months ago
Having the same issue, seems like commit 8f09d9c introduced the bug
Edit: Its caused by sources/core.php: $server['https'] = $request->isSecure(); --> This line will set it to true / false
but it will check if its !== "on" in line 88: && $server['https'] !== 'on'
This will always fail and redirect a bunch until the browsers stops with the error message
Fixed it by changing line 88 to && !$server['https']
@Adammantium Thank's a lot, it works perfectly un 3.1.2.12 (But it's already in french/english), the application are not in full french, but not problematic.
Steps to reproduce
Server configuration before update
Operating system: Linux CC200-Teampass 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
Web server: Apache/2.4.57 (Debian)
Database: 10.11.6-MariaDB-0+deb12u1
PHP version: 8.2.16
Teampass version: 3.1.0
Teampass configuration file:
Updated from an older Teampass or fresh install: Fresh install with 3.0.1.88 and update to 3.1.0
Client configuration
Browser: - Chrome, up to date
Operating system: - 64 bits
Logs
Web server error log
[Tue Feb 27 12:08:05.295318 2024] [php:warn] [pid 1602] [client IP_MACHINE_CLIENT:60138] PHP Warning: session_name(): Session name cannot be changed when a session is active in /var/www/html/TeamPass/install/upgrade_run_3.0.php on line 41, referer: https://teampass.DOMAINNAME.COM/install/upgrade.php [Tue Feb 27 12:08:05.296473 2024] [php:notice] [pid 1602] [client IP_MACHINE_CLIENT:60138] PHP Notice: session_start(): Ignoring session_start() because a session is already active in /var/www/html/TeamPass/install/upgrade_run_3.0.php on line 42, referer: https://teampass.DOMAINNAME.COM/install/upgrade.php
Teampass 10 last system errors
Log from the web-browser developer console (CTRL + SHIFT + i)