Page 1 of 1

[Solved] New DVR streaming mode problem on 1.23.1 (gentoo)

Posted: Thu Mar 20, 2008 4:24 pm
by Diviner
Hi there. I am having problems with the new zoneminder dvr streaming mode, i can see the video, the list of events updating in real time, but when i try to use the buttons they do nothing. I am using zm v1.23.1 on gentoo. Also the information below the video stream is not working, it stays always as shown on the image below (delay, rate, fps...). I don't see any errors on apache2 and zoneminder logs and i have downloaded mootools v1.11 with all options selected.
When i use ie7 it shows a javascript error every time i click the buttons like "permission denied" and "status.delayed is not a object". If i disable the dvr streaming style, everything works like a charm.

Image

Cheers,
Divi

Posted: Tue Mar 25, 2008 9:40 pm
by zoneminder
Do you have the Firebug extension installed in Firefox. If not it might help diagnose the issue.

You don't have anything like NoScript installed do you?

Posted: Wed Mar 26, 2008 3:12 pm
by Diviner
Thanks for replying.

I didin't had the Firebug and the NoScript extensions installed on my firefox. After installing the Firebug extension i get this erros when i press any dvr button (pause, play...):

Image

Posted: Wed Mar 26, 2008 3:34 pm
by azir
Maybe your php run in safe mode, socket extension (socket.so) not loaded, or your php configuration file (php.ini) does not allow socket operation.

find this line within php.ini file

Code: Select all

safe_mode = On
Change to

Code: Select all

safe_mode = Off

Code: Select all

extension=socket.so
if not there, add the extension=socket.so line to your php.ini
then restart your web server

Posted: Wed Mar 26, 2008 7:48 pm
by Diviner
Thanks for the tip Azir, i noticed that i had php compiled without sockets use flag on gentoo. Going to recompile it and ill post here the results. :)

Posted: Wed Mar 26, 2008 8:44 pm
by Diviner
After recompiling php5 again but this time with the "sockets" use flag enabled, dvr streaming style is finally working.

Thanks for the help.

Cheers,
Divi

Posted: Thu Mar 27, 2008 9:27 am
by zoneminder
Excellent. Thanks for posting your fix. I probably should mention that requirement in the somewhere but I had assumed sockets where in by default.