API on Debian
Posted: Tue Jan 19, 2016 8:51 pm
Hi all,
Hopefully I will give you enough info required. Please go easy on me as have probably made some fundamental mistakes.
I have had zoneminder running for a few weeks, but have not managed to get the API working, despite lots of attempts.
I initially used apt-get install zoneminder. Then subsequently tried to use the git install.
Some of the other posts I have seen seem to talk about installing the API into different paths?
Not sure if I need to completely uninstall and start again (but I had done this previously and still did not sort it..
Hopefully I have given enough information for you to help, if not please ask and I will provide what you may need.
Regards Rich.
Hopefully I will give you enough info required. Please go easy on me as have probably made some fundamental mistakes.
I have had zoneminder running for a few weeks, but have not managed to get the API working, despite lots of attempts.
I am trying to get the API to work, I may have gone about this the wrong way but I have downloaded 1.29 to my desktop and transferred the API files across. Then noticed that there was no CRUD files, so downloaded CRUD3 (from FriendsOfCake) and transferred it across to zoneminder.ZoneMinder Running - v1.28.1, on debian stretch/sid Kernel 4.3.0-1-amd64
I initially used apt-get install zoneminder. Then subsequently tried to use the git install.
Code: Select all
Error: [MissingPluginException] Plugin Crud could not be found. #0 /usr/src/zoneminder/web/api/lib/Cake/Core/App.php(365): CakePlugin::path('Crud') #1 /usr/src/zoneminder/web/api/lib/Cake/Core/App.php(226): App::pluginPath('Crud') #2 /usr/src/zoneminder/web/api/lib/Cake/Core/App.php(547): App::path('Lib', 'Crud') #3 [internal function]: App::load('CrudControllerT...') #4 /usr/src/zoneminder/web/api/app/Controller/AppController.php(34): spl_autoload_call('CrudControllerT...') #5 /usr/src/zoneminder/web/api/lib/Cake/Core/App.php(545): include('/usr/src/zonemi...') #6 [internal function]: App::load('AppController') #7 [internal function]: spl_autoload_call('AppController') #8 /usr/src/zoneminder/web/api/lib/Cake/Error/ExceptionRenderer.php(151): class_exists('AppController') #9 /usr/src/zoneminder/web/api/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(FatalErrorException)) #10 /usr/src/zoneminder/web/api/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->__construct(Object(FatalErrorException)) #11 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #12 /usr/src/zoneminder/web/api/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #13 /usr/src/zoneminder/web/api/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, 'Can't find appl...', '/usr/src/zonemi...', 97) #14 [internal function]: ErrorHandler::handleError(256, 'Can't find appl...', '/usr/src/zonemi...', 97, Array) #15 /usr/src/zoneminder/web/api/lib/Cake/Core/Configure.php(97): trigger_error('Can't find appl...', 256) #16 /usr/src/zoneminder/web/api/lib/Cake/bootstrap.php(177): Configure::bootstrap(true) #17 /usr/src/zoneminder/web/api/app/webroot/index.php(90): include('/usr/src/zonemi...') #18 {main}
File: /usr/src/zoneminder/web/api/lib/Cake/Error/ErrorHandler.php
Line: 129
Not sure if I need to completely uninstall and start again (but I had done this previously and still did not sort it..
Hopefully I have given enough information for you to help, if not please ask and I will provide what you may need.
Regards Rich.