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

Forum for questions and support relating to the 1.28.x releases only.
Locked
mjbrenegan
Posts: 7
Joined: Mon Jun 08, 2015 10:39 am

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

Post 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?
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

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

Post 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...
mjbrenegan
Posts: 7
Joined: Mon Jun 08, 2015 10:39 am

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

Post 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'.
ob1
Posts: 2
Joined: Sun Dec 27, 2015 5:26 am

my fix

Post 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.
Locked