Warning: Division by zero in ...

Support and queries relating to all previous versions of ZoneMinder
Locked
pmeakins
Posts: 1
Joined: Mon Oct 24, 2005 10:19 pm
Location: UK

Warning: Division by zero in ...

Post by pmeakins »

Hi,

I eventually got Zoneminder installed - much hassle, I created an installation script if anyone is interested. Let me know.

I have added a Fusion BT878A card - indeed card=77 works, apart from the issue of one controller chip and 4 outputs but thats another story.

I added two camera to Zoneminder and all looked fine, but when I click cycle and/or montage I get the following message:


Warning: Division by zero in /zoneminder/www/zm_html_view_montagefeed.php on line 50

Warning: Division by zero in /zoneminder/www/zm_html_view_montagefeed.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /zoneminder/www/zm_html_view_montagefeed.php:50) in /zoneminder/www/zm_html_view_montagefeed.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /zoneminder/www/zm_html_view_montagefeed.php:50) in /zoneminder/www/zm_html_view_montagefeed.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /zoneminder/www/zm_html_view_montagefeed.php:50) in /zoneminder/www/zm_html_view_montagefeed.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /zoneminder/www/zm_html_view_montagefeed.php:50) in /zoneminder/www/zm_html_view_montagefeed.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /zoneminder/www/zm_html_view_montagefeed.php:50) in /zoneminder/www/zm_html_view_montagefeed.php on line 64

Any ideas, I have come to a dead-end and am unable to proceed.

Any ideas.

Regards

Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The only way these division by zero errors could happen is if (a) you have defined one or more monitors without a width and height or (b) if there is some database problem that means empty results are being report. I would think (a) is more likely. Can you view streams etc of the monitors one at a time?

Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

or possibly that you have not defined the montage monitor h+W in the options under the Web tab.
Make sure vaules for ZM_WEB_MONTAGE_WIDTH and ZM_WEB_MONTAGE_HEIGHT are present and suitable.
Regards,
Cordel
Locked