Warning: Division by zero in /var/www/......

Support and queries relating to all previous versions of ZoneMinder
Locked
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Warning: Division by zero in /var/www/......

Post by kim_asplund »

So Im @ it again :) and as usual i seem to get in to trubble... Now i have a new strange problem. It says:

Warning: Division by zero in /var/www/html/zm/zm_html_view_console.php on line 62

On the top of the page after i have logged in.

Any iadeas what is causing this problem. ZM is refusing to start.
Base System is Redhat 9.
Regards Kim.
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post by kim_asplund »

might be because of this...

/etc/rc.d/init.d/zm start
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 62.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 63.

What do i do about this??
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post by kim_asplund »

Ah. so i solved the problem... for some reason it did not import the data to the database...

try to run "perl ./zmconfig.pl -noi" some more untill you get the data in to the tables. ;)
Locked