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

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
Bart.o
Posts: 3
Joined: Fri Mar 02, 2012 10:19 am

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

Post 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 :-)
Bart.o
Posts: 3
Joined: Fri Mar 02, 2012 10:19 am

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

Post 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
Bart.o
Posts: 3
Joined: Fri Mar 02, 2012 10:19 am

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

Post by Bart.o »

I was using an example script, and in that script was an error. :?

Sry people :P
Post Reply