all sorts of warnings for montage

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

all sorts of warnings for montage

Post by bhomass »

I set up a couple of monitors and clicked montage and got all this:

Warning: Division by zero in /var/www/html/zm/zm_html_view_montagefeed.php on line 50

Warning: Division by zero in /var/www/html/zm/zm_html_view_montagefeed.php on line 51

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

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

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

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

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

I am new in zm and clueless at this. please help!
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

I fixed this. prob was related to permission violation because apache user was not apache.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

So apache was using a differant user and group (something like www-user and www-group) but ZM was configured for user and group to both be apache.
So you reconfigured zm to use www-user and www-group.
Sorry just want to make sure the solution is correct just in case someone else runs into it :)
ZM has to be configured to use the same user and group settings that you have in your httpd.conf file.
Cheers,
Cordel
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
Locked