Page 1 of 1

Defining zones

Posted: Thu Mar 22, 2012 7:51 pm
by IanHodgson
This problem is driving me nuts, more because I am sure that I have missed something really obvious. I have made a fresh installation of Zoneminder 1.24.2 on an Ubuntu machine. Having installed the camera driver, defined the Monitor, etc, I have a yellow coloured 'Function' and 'Source'. When I click on the 'Name', I see video so all looks good.

By default, I have one Zone defined and I want to edit the zone, so I click on the '1' in the Zone column, click on the red image that opens up and am presented with the green image in the Zone editing window. Now the issue is that I cannot change the existing zone; there are no points listed in the table, no '+' signs to add new points and trying to move the only visible 'Point' in the top left does not work. I have used ZM before and so am reasonably familiar with how it should work, but cannot see what I am doing wrong here.

I am viewing the web GUI using Firefox and did try IE, but neither give me what I need and what I think I should have to edit the zone. Can anyone help?

Many thanks,

Re: Defining zones

Posted: Thu Mar 22, 2012 8:39 pm
by nightcrawler
did an simple search on "no zone poinst" and hit this topic: http://www.zoneminder.com/forums/viewto ... nts#p74465
and http://www.zoneminder.com/forums/viewto ... t=mootools

Install mootool.js again and be sure that you use cambozolla 0.92 java plugin.

Code:
To fix the zones buttons or problem with the configuration of a monitor (buttons not working):
* check that 'mootools' is installed in '/usr/share/javascript/mootools' :
- it's necessary to modify the file '/usr/share/zoneminder/skins/classic/includes/functions.php' in order to help 'zoneminder' to find the location of 'mootools'.
* 'mootools.js' and 'mootools-more.js' are links pointing respectively to 'mootools-core.min.js' and 'mootools-more.min.js'.
* these 2 pieces of code don't give me any working results. I replace it by 'mootools-core-nc.js' and 'mootools-more-nc.js'.

And then, creation of motion detect zones is now working for me when I modify the file '/usr/share/zoneminder/skins/classic/includes/functions.php' in this way :
<script type="text/javascript" src="../javascript/mootools/mootools-core-nc.js"></script>
<script type="text/javascript" src="../javascript/mootools/mootools-more-nc.js"></script>

Re: Defining zones

Posted: Thu Mar 22, 2012 9:43 pm
by IanHodgson
Awesome; thank you so much. Regrettably, I should have found this myself, but that does not detract from my gratitude.