API not working on fedora 28
Posted: Sat Sep 01, 2018 6:58 pm
I upgraded Fedora from 27 to 28 and the API has stopped working so zmNinja reports that it's authenticated but the API is not correctly configured.
The RPM is zoneminder-1.30.4-7.fc28.x86_64 from the RPM fusion repository.
I wondered if it was something in my upgrade so I erased the zoneminder RPM and reinstalled it and it's still the same. The web interface works fine but the API doesn't.
As a further check I've installed F 28 onto a virtualbox VM and installed zoneminder using the RPMFusion route and its the same. All API calls get a blank screen and 500 in the HTTP access log.
I have found some posts saying that there is a problem with the version of Cake when using PHP7 .
/usr/share/zoneminder/www/api/lib/Cake/VERSION.txt says 2.8.0 and the PHP rpm is php-7.2.9-1.fc28.x86_64 .
Where to go from here ? Has anyone any ideas ?
The RPM is zoneminder-1.30.4-7.fc28.x86_64 from the RPM fusion repository.
I wondered if it was something in my upgrade so I erased the zoneminder RPM and reinstalled it and it's still the same. The web interface works fine but the API doesn't.
As a further check I've installed F 28 onto a virtualbox VM and installed zoneminder using the RPMFusion route and its the same. All API calls get a blank screen and 500 in the HTTP access log.
I have found some posts saying that there is a problem with the version of Cake when using PHP7 .
/usr/share/zoneminder/www/api/lib/Cake/VERSION.txt says 2.8.0 and the PHP rpm is php-7.2.9-1.fc28.x86_64 .
Where to go from here ? Has anyone any ideas ?