ZenphotoCMS Forum
update to 24.10 ubuntu breaks - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: update to 24.10 ubuntu breaks (/thread-13985.html)



update to 24.10 ubuntu breaks - rnervi - 20-10-2024

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




update to 24.10 ubuntu breaks - rnervi - 20-10-2024

php has been update to 8.3.6




update to 24.10 ubuntu breaks - rnervi - 20-10-2024

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




update to 24.10 ubuntu breaks - acrylian - 20-10-2024

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/




update to 24.10 ubuntu breaks - rnervi - 08-05-2025

as I would test upgrade to last version on a test environment that was working...
sorry so longtime. it's still not working
what I c is:

[code]
' . $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');

[/code]
httpd is on
mysql is on
which is "service unavailable" then ?




update to 24.10 ubuntu breaks - acrylian - 08-05-2025

Thet site is proably on maintenance mode during and after setup runs. You have to disable it yourself or change the defaults. There is a visible link about that on the backend and on the admin toolbar.

If you indeed see the code displayed something is wrong on your server. A link would probably help to help.




update to 24.10 ubuntu breaks - acrylian - 14-05-2025

It's other issues but perhaps somehow related, please see: https://forum.zenphoto.org/discussion/1411336/cant-setup-call-to-a-member-function-lock#latest