Search found 7 matches

by dpdjvan
Fri May 01, 2020 4:15 am
Forum: ZoneMinder 1.34.x
Topic: Camera Preset Buttons not Working
Replies: 3
Views: 3122

Re: Camera Preset Buttons not Working

I found a solution that worked for me. In /usr/share/zoneminder/www/skins/classic/includes/control_functions.php goto line 165. Change the line to: <button type="button" class="ptzNumBtn" title="<?php echo isset($labels[$i])?htmlentities($labels[$i]):'' ?>" data-on-click-this="controlCmd" value ...
by dpdjvan
Fri May 01, 2020 4:13 am
Forum: ZoneMinder 1.34.x
Topic: Control scripts only partial working.
Replies: 3
Views: 1795

Re: Control scripts only partial working.

Found the issue. The first "value=" would not allow the 2nd "value=" to be written. This would leave "value="1"" so it thought the command was "1" By removing the first value the command looks like "value="presetGoto1"" which allows the camera to move.
by dpdjvan
Thu Apr 30, 2020 10:29 pm
Forum: ZoneMinder 1.34.x
Topic: Camera Preset Buttons not Working
Replies: 3
Views: 3122

Re: Camera Preset Buttons not Working

I found the same issue as I use them all the time.

I posted a question as well here: viewtopic.php?f=40&t=29343&sid=c692bbd4 ... 3c3b1476c8
by dpdjvan
Tue Apr 28, 2020 2:47 am
Forum: ZoneMinder 1.34.x
Topic: Control scripts only partial working.
Replies: 3
Views: 1795

Re: Control scripts only partial working.

I think the zoom out is from line 53.

It has "data-on-click-data" but everywhere else it is "data-on-click-this". I don't know if they are equivalent.
by dpdjvan
Tue Apr 28, 2020 2:44 am
Forum: ZoneMinder 1.34.x
Topic: Control scripts only partial working.
Replies: 3
Views: 1795

Re: Control scripts only partial working.

Looking through the changes for 1.34.10 the control_functions.php changed in https://github.com/ZoneMinder/zoneminder/commit/96774bd03868e475069938a3366586857c853514 I'm not familiar with web stuff but I'm going to see if I can figure out why some buttons work and other don't. Any advice on where to ...
by dpdjvan
Mon Apr 27, 2020 12:25 am
Forum: ZoneMinder 1.34.x
Topic: Control scripts only partial working.
Replies: 3
Views: 1795

Control scripts only partial working.

I upgraded to 1.34.10 today from the http://ppa.launchpad.net/iconnor/zoneminder-1.34/ubuntu repo. Only some of my controls are now working on the control script I created for Inesun. For example I can zoom in but zoom out won't trigger anything. I don't get any debug logs that an attempt was made ...
by dpdjvan
Sat Apr 09, 2016 2:44 pm
Forum: ZoneMinder 1.29.x
Topic: Zoneminder 1.29.0
Replies: 24
Views: 12944

Re: Zoneminder 1.29.0

Some progress, yeahh. "Cannot write to content dirs('events','images'). Check that these exist and are owned by the web account user" Still no ZM. Anyone with a suggestion, please? I had the same issue and found a solution without re-installing Ubuntu: sudo chown -R www-data:www-data /var/cache ...