ZoneMinder 1.36.35 is not starting.
Posted: Wed Feb 05, 2025 12:29 am
Hello.
I'm new to zoneminder, and have installed it on debian 12 bookworm due to the instructions in this page: https://zoneminder.readthedocs.io/en/la ... 2-bookworm
When i open the webpage the server respond me with HTTP 500 - Internal Server Error, I have tried to read the logs and fixing the problems by myself, but there is always coming new errors, so I think I have done something wrong.
The first error I fixed was:
So I added to config.php
Next i got error is looking like this, but it was a Undefined Constant ZM_TIMEZONE, so i defined timezone in config.php. Now I getting error that Undefined constant "ZM_DATE_FORMAT_PATTERN". I start to see a pattern here, that I need to define all these constants and this cannot be a part of the installation process?
Is there somebody who has an idea what I have done wrong or forgot to do?
I'm new to zoneminder, and have installed it on debian 12 bookworm due to the instructions in this page: https://zoneminder.readthedocs.io/en/la ... 2-bookworm
When i open the webpage the server respond me with HTTP 500 - Internal Server Error, I have tried to read the logs and fixing the problems by myself, but there is always coming new errors, so I think I have done something wrong.
The first error I fixed was:
Code: Select all
cat /var/log/apache2/error.log
[php:error] [pid 306631:tid 306631] [client 192.168.1.10:55043] PHP Fatal error: Uncaught Error: Undefined constant "ZM_LOCALE_DEFAULT" in /usr/share/zoneminder/www/includes/config.php:149\nStack trace:\n#0 /usr/share/zoneminder/www/index.php(51): require_once()\n#1 {main}\n thrown in /usr/share/zoneminder/www/includes/config.php on line 149
Code: Select all
define( 'ZM_LOCALE_DEFAULT', 'en_GB' );
Is there somebody who has an idea what I have done wrong or forgot to do?