update to 24.10 ubuntu breaks

on a test ubuntu server update to 24.10 has been done.
zenphoto stopped working with this on the main page:

' . $protocol . "://" . htmlspecialchars($_SERVER['HTTP_HOST']).' '; } } else { header("HTTP/1.1 503 Service Unavailable"); header("Status: 503 Service Unavailable"); header('Pragma: no-cache'); header('Retry-After: 3600'); header('Cache-Control: no-cache, must-revalidate, max-age=0'); if (file_exists(dirname($_zp_script) . '/plugins/site_upgrade/closed.htm')) { include (dirname($_zp_script) . '/plugins/site_upgrade/closed.htm'); } else { echo '

The site is undergoing an upgrade.

Please return later.
'; } } exit(); } } } unset($_contents); include (dirname(FILE) . '/zp-core/index.php');

db is on, apache2 is ok.. sounds like an environment variable not found ($_SERVER['HTTP_HOST']).'

any workaround ?

ty

Comments

  • php has been update to 8.3.6

  • from what I read into requirements

    PHP 7, 8-8.2 (8+ strongly recommended), PHP 8.3 probably compatible but not yet tested

    sounds like need to be tested :)

  • acrylian Administrator, Developer
    edited October 20

    I doubt that this is a PHP 8.3 issue. That's a standard PHP global var…

    Do you see a placeholder maintenance page when accessing your site? If that is intended behaviour after the first setup run. Please see the notes here: https://www.zenphoto.org/news/installation-and-upgrading/

Sign In or Register to comment.