Page 1 of 1

Zoneminder console has 0 for all 'Hour' events for cameras

Posted: Mon Jun 29, 2015 12:49 am
by mjbrenegan
I am using Zoneminder 1.28.1 and it's working quite well. However all cameras on the console report 0 for 'Hours'. Days, Weeks, Months all have events under them. What could possibly be causing this?

Re: Zoneminder console has 0 for all 'Hour' events for camer

Posted: Tue Jun 30, 2015 12:23 pm
by Nerre
No event occurred the last hour? :)

More seriously, maybe it could be some time zone setting making zoneminder misinterpret the time of the events, but that seems unlikely because zoneminder should store and read events using the same time zone...

Re: Zoneminder console has 0 for all 'Hour' events for camer

Posted: Tue Jun 30, 2015 12:40 pm
by mjbrenegan
But, all of the 'Day' events for all cameras have the proper time. And, there are events stored within the last few minutes, but they don't show in 'Hours'.

my fix

Posted: Sun Dec 27, 2015 5:39 am
by ob1
i had the same issue and it was due to the PHP timezone setting. My admin console was showing time adjusted for daylight savings (+1hr), but we dont use daylight savings here, so it was the wrong time. The videos were all timestamped with the correct time, so even the live video was exactly 1hr behind where the admin console thought the time was - hence 0 events in the past hour.

I edited:
/etc/php5/apache2/php.ini

and in the [Date] section, added:
date.timezone = Australia/Brisbane


or whatever TZ(http://php.net/manual/en/timezones.php) is appropriate for you.