Page 1 of 1

Webinterface not available

Posted: Sat Dec 28, 2024 4:27 pm
by jwsawmill
I upgraded my zoneminder version to the 1.37.x version today.

In the app I can see that everything is running but I can't use the webinterface.

Apache logs show this:
PHP Fatal error: Uncaught Error: Undefined constant "ZM\\ZM_PATH_API" in /usr/share/zoneminder/www/includes/Object.php:95\nStack trace:\n#0 /usr/share/zoneminder/www/includes/Server.php(66): ZM\\ZM_Object::_find()\n#1 /usr/share/zoneminder/www/includes/config.php(257): ZM\\Server::find()\n#2 /usr/share/zoneminder/www/index.php(23): require_once('...')\n#3 {main}\n thrown in /usr/share/zoneminder/www/includes/Object.php on line 95

Any ideas about this error?
Only thing i did not do during upgrade is replace my config files. I kept the old ones

Re: Webinterface not available

Posted: Sat Dec 28, 2024 7:41 pm
by jwsawmill
Well I figured it out. It had to do with the cache location that was wrong and a few variables that were missing in a configuration file.

Re: Webinterface not available

Posted: Mon Dec 30, 2024 1:25 pm
by pepex7
what files were they?