if during monitor setup, area was not set (0), next time you get back to this screen and set needed values, it gives an error of invalid division by zero in module zm_actions.php, linesm 1156 & 1157
$points[$i]['x'] = intval(round((($points[$i]['x']*$new_w)/$old_w)));
$points[$i]['y'] = intval(round((($points[$i]['y']*$new_h)/$old_h)));
it may be advisable to check for 0 before performing the division
runtime error
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: