Page 1 of 1

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

Posted: Tue Aug 31, 2004 9:47 pm
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.

Posted: Wed Sep 01, 2004 7:38 am
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??

Posted: Wed Sep 01, 2004 7:52 am
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. ;)