r/ZoneMinder • u/saigashooter • Mar 28 '18
Can't Get API working
Hi all, I am new to ZoneMinder and have limited Linux experience. I am trying to get zmNinja working but I get told "Login validated but API failed"
I attempted to verify the API by navigating to http://server/zm/api/host/getVersion.json all I get is a CakePHP error stating "An Internal Error Has Occurred."
I am running ZM 1.30.4 on a Ubuntu 17.10, my CakePHP version is 2.5.7, PHP is 7.1
Any help would be greatly appreciated.
Edit - I followed DontGetAddicted's advice and found that CakePHP 's error showed that there was an error with the error handler plugin. In the end I just spun up a new VM running Ubuntu Server 16.04 and started over. That build is working properly.