Page 1 of 1

Undefined variable: replayMode in

Posted: Tue Nov 07, 2017 9:51 am
by vmukti123
Hi,
I have installed ZoneMinder from source code using cmake, make and make install. It is running properly.
But the problem is i am unable to see live video stream.
I know for viewing live video stream i need to set PATH_ZMS in Options->Paths in web console.
Image
But there are no tab for "Paths". So now how i can set PATH_ZMS. Any idea?
Another problem is Motion detection is working fine in backend and events are also generating as shown in image.
But when i click on event one new windows will open up and in that window i am getting error message at the top of the image
Event.png
Event.png (56.01 KiB) Viewed 3408 times
Can anyone tell me what's wrong here?

Thanks

Re: Undefined variable: replayMode in

Posted: Tue Nov 07, 2017 4:22 pm
by iconnor
paths are set in /etc/zm/zm.conf or /etc/zm/conf.d/01-system-paths.conf

Re: Undefined variable: replayMode in

Posted: Wed Nov 08, 2017 11:51 am
by vmukti123
I have tried it by adding ZM_PAHTH_ZMS=/zm/cgi-bin/nph-zms. But not working.
And there are no file like "01-system-paths.conf" on /etc/zm/conf.d/.

Re: Undefined variable: replayMode in

Posted: Wed Nov 08, 2017 3:14 pm
by rockedge
you definitely need to structure the /etc/zm directory correctly and add the files /etc/zm/zm.conf or /etc/zm/conf.d/01-system-paths.conf with the paths. During the build this did not occur so you will do it manually. I will have to look up an example to post it here.

Re: Undefined variable: replayMode in

Posted: Fri Nov 10, 2017 12:23 pm
by vmukti123
Yes, That's worked. I changed ZM_PATH_ZMS in both /etc/zm/zm.conf and /etc/zm/conf.d/01-system-paths.conf files. I also changed cgi-bin path in /etc/apache2/conf-available/serve-cgi-bin.conf from /usr/lib/cgi-bin to /usr/local/libexec/zoneminder/cgi-bin/.
And it worked. I can now see video stream.

Thanks for help guys!!!

Re: Undefined variable: replayMode in

Posted: Fri Nov 10, 2017 1:48 pm
by rockedge
:D

Re: Undefined variable: replayMode in

Posted: Mon Nov 13, 2017 5:50 am
by vmukti123
But still one error i am getting is "Note : Undefined variable : replyMode in /usr/local/share/zoneminder/www/skins/classic/view/event.php on line 69".
Any idea why i am getting this error?