Page 1 of 1

[FIX ?] Use of uninitialized value $last_event_id in numeric

Posted: Fri Mar 02, 2012 10:32 am
by Bart.o
I had this error : Use of uninitialized value $last_event_id in numeric ne (!=) at /usr/lib64/perl5/site_perl/5.12.3/ZoneMinder/Memory.pm line 501

I looked up Memory.pm and added the following line under our $mem_data =

Under line 146 i added :

"last_event_id" => { "type"=>"int", "seq"=$mem_seq++ },

I restarted ZoneMinder and i had no more error's

It worked for me, but i don't know if its right :-)

Re: [FIX ?] Use of uninitialized value $last_event_id in num

Posted: Fri Mar 02, 2012 11:20 am
by Bart.o
I was to early posting , after a few minutes i get an error : Shared data size conflict in shared_data for monitor-1, expected 332, got 328

Re: [FIX ?] Use of uninitialized value $last_event_id in num

Posted: Fri Mar 02, 2012 3:28 pm
by Bart.o
I was using an example script, and in that script was an error. :?

Sry people :P