ZoneMinder 1.36.35 is not starting.

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
\x00
Posts: 1
Joined: Wed Feb 05, 2025 12:05 am

ZoneMinder 1.36.35 is not starting.

Post by \x00 »

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:

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
So I added to config.php

Code: Select all

define( 'ZM_LOCALE_DEFAULT', 'en_GB' );
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?
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder 1.36.35 is not starting.

Post by bbunge »

Post Reply