Hi everybody,
I had a working postfixadmin v 3.1 (sqlite3,nginx) installation until I upgraded from Debian 11 to 12 and along with this php 7.4 to php 8.2.
Afterwards, I got a blank screen when hitting the postfixadmin login.php.
The error is:
2023/06/12 18:51:11 [error] 3799#3799: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/mx989.example.int/functions.inc.php on line 697" while reading response header from upstream, client: 12.24.32.82, server: mx989.example.int, request: "GET /login.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "mx989.example.int"
for ($i = 0; $i < $j; ++$i) {
switch ($string{$i}) {
case '=':
case '<':
case '>':
case ',':
case '?':
case '_':
if ($iEncStart === false) {
$iEncStart = $i;
I could just upgrade from 3.1 to 3.3.13, but I don't know if this would mend the problem. Potentially it could if brackets are out of fashion :-0
Thx,
So.
|