As i am in the process of writing a control module for the quickcam sphere ,
I noticed that the "set control preset" window comes up empty ,
when one clicks on the control "set" button .
I noticed some php errors in the apache error log and
traced this to the files :
/var/www/html/includes/actions.php
and
/var/www/html/skins/classic/views/controlpreset.php
(the version i use is 3740)
here are the diffs:
Code: Select all
[root@venus includes]# diff /usr/software/ZoneMinder-1.24.0/web/includes/actions.php /var/www/html/includes/actions.php
857,858c857,858
< }
< $sockFile = ZM_PATH_SOCKS.'/zmcontrol-'.$monitor[Id].'.sock';
---
> }
> $sockFile = ZM_PATH_SOCKS.'/zmcontrol-'.$monitor['Id'].'.sock';
Code: Select all
[root@venus includes]# diff /usr/software/ZoneMinder-1.24.0/web/skins/classic/views/controlpreset.php /var/www/html/skins/cla
ssic/views/controlpreset.php
39c39,40
< $presets[$i] = "$SLANG['Preset'] $i";
---
> $presets[$i] = $SLANG['Preset']." ".$i ;