Webinterface not available

Current Development version likely to have breaking changes
Post Reply
jwsawmill
Posts: 2
Joined: Sat Dec 28, 2024 4:21 pm

Webinterface not available

Post 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
jwsawmill
Posts: 2
Joined: Sat Dec 28, 2024 4:21 pm

Re: Webinterface not available

Post 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.
pepex7
Posts: 47
Joined: Wed Feb 08, 2023 11:55 pm

Re: Webinterface not available

Post by pepex7 »

what files were they?
Post Reply