Hy, i'm using ZM 1.29 in my Arch linux. All work well, but i've a problem only with zm-ninja app. My Android App, but is the same for desktop version, fail streaming video. In zmninja app (or desktop) my credentials are verify. If i click on "system status" it show "Zoneminder is runnig" and i can see zm load. The problem appear if i make a click on Monitor or Events or Montage: a popup say to check credentials!.
I've googled for zm-ninja wiki and forum but i don't have found a solution. I've checked cgi-bin path and permission, but all seem alright. If i try to use another zm app like ZmView all work well and i can see all monitors and events.
Anyone can help me with zm-ninja? Below is a part of zm-ninja log file.
Thanks!
Code: Select all
version:1.0.7D
Feb 15, 2016 11:32:52 PM ERROR Monitor load failed {"success":false,"data":{"code":500,"name":"Cannot declare class CakeText, because the name is already in use","message":"Cannot declare class CakeText, because the name is already in use","url":"/zoneminder/api/monitors.json","exception":{"class":"FatalErrorException","code":500,"message":"Cannot declare class CakeText, because the name is already in use","trace":["#0 /srv/http/zoneminder/api/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(64, 'Cannot declare ...', '/srv/http/zonem...', 25)","#1 /srv/http/zoneminder/api/lib/Cake/Core/App.php(929): ErrorHandler::handleError(64, 'Cannot declare ...', '/srv/http/zonem...', 25, Array)","#2 /srv/http/zoneminder/api/lib/Cake/Core/App.php(902): App::_checkFatalError()","#3 [internal function]: App::shutdown()","#4 {main}"]},"queryLog":{"default":{"log":[{"query":"SELECT `Config`.`Id`, `Config`.`Name`, `Config`.`Value`, `Config`.`Type`, `Config`.`DefaultValue`, `Config`.`Hint`, `Config`.`Pattern`, `Config`.`Format`, `Config`.`Prompt`, `Config`.`Help`, `Config`.`Category`, `Config`.`Readonly`, `Config`.`Requires` FROM `zm`.`Config` AS `Config` WHERE `Config`.`Name` = 'ZM_OPT_USE_API' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0},{"query":"SELECT `Config`.`Id`, `Config`.`Name`, `Config`.`Value`, `Config`.`Type`, `Config`.`DefaultValue`, `Config`.`Hint`, `Config`.`Pattern`, `Config`.`Format`, `Config`.`Prompt`, `Config`.`Help`, `Config`.`Category`, `Config`.`Readonly`, `Config`.`Requires` FROM `zm`.`Config` AS `Config` WHERE `Config`.`Name` = 'ZM_OPT_USE_AUTH' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0},{"query":"SELECT `User`.`Id`, `User`.`Username`, `User`.`Password`, `User`.`Language`, `User`.`Enabled`, `User`.`Stream`, `User`.`Events`, `User`.`Control`, `User`.`Monitors`, `User`.`Groups`, `User`.`Devices`, `User`.`System`, `User`.`MaxBandwidth`, `User`.`MonitorIds` FROM `zm`.`Users` AS `User` WHERE `User`.`Username` = 'admin' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0},{"query":"SELECT `Config`.`Id`, `Config`.`Name`, `Config`.`Value`, `Config`.`Type`, `Config`.`DefaultValue`, `Config`.`Hint`, `Config`.`Pattern`, `Config`.`Format`, `Config`.`Prompt`, `Config`.`Help`, `Config`.`Category`, `Config`.`Readonly`, `Config`.`Requires` FROM `zm`.`Config` AS `Config` WHERE `Config`.`Name` = 'ZM_OPT_USE_API' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0},{"query":"SELECT `Config`.`Id`, `Config`.`Name`, `Config`.`Value`, `Config`.`Type`, `Config`.`DefaultValue`, `Config`.`Hint`, `Config`.`Pattern`, `Config`.`Format`, `Config`.`Prompt`, `Config`.`Help`, `Config`.`Category`, `Config`.`Readonly`, `Config`.`Requires` FROM `zm`.`Config` AS `Config` WHERE `Config`.`Name` = 'ZM_OPT_USE_AUTH' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0},{"query":"SELECT `User`.`Id`, `User`.`Username`, `User`.`Password`, `User`.`Language`, `User`.`Enabled`, `User`.`Stream`, `User`.`Events`, `User`.`Control`, `User`.`Monitors`, `User`.`Groups`, `User`.`Devices`, `User`.`System`, `User`.`MaxBandwidth`, `User`.`MonitorIds` FROM `zm`.`Users` AS `User` WHERE `User`.`Username` = 'admin' LIMIT 1","params":[],"affected":1,"numRows":1,"took":0}],"count":6,"time":0}}}}
Feb 15, 2016 11:32:52 PM INFO getMonitors:Loading all monitors
Feb 15, 2016 11:29:59 PM INFO ZM has recaptcha disabled - good
Feb 15, 2016 11:29:59 PM INFO Stream authentication construction:
Feb 15, 2016 11:29:59 PM INFO Deferring auth key, as monitorId unknown
Feb 15, 2016 11:29:59 PM INFO zmAutologin successfully logged into Zoneminder
Feb 15, 2016 11:29:59 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 15, 2016 11:29:59 PM INFO zmAutologin called