Undefined variable: replayMode in

Forum for questions and support relating to the 1.31.x releases only.
Locked
vmukti123
Posts: 7
Joined: Tue Nov 07, 2017 9:12 am

Undefined variable: replayMode in

Post 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 3095 times
Can anyone tell me what's wrong here?

Thanks
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Undefined variable: replayMode in

Post by iconnor »

paths are set in /etc/zm/zm.conf or /etc/zm/conf.d/01-system-paths.conf
vmukti123
Posts: 7
Joined: Tue Nov 07, 2017 9:12 am

Re: Undefined variable: replayMode in

Post 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/.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Undefined variable: replayMode in

Post 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.
vmukti123
Posts: 7
Joined: Tue Nov 07, 2017 9:12 am

Re: Undefined variable: replayMode in

Post 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!!!
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Undefined variable: replayMode in

Post by rockedge »

:D
vmukti123
Posts: 7
Joined: Tue Nov 07, 2017 9:12 am

Re: Undefined variable: replayMode in

Post 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?
Locked