Page 1 of 1

Timezone error[Solved] & no Still Images[Solved]

Posted: Mon Sep 26, 2011 6:21 am
by lyallp
I just upgraded to 1.25.0 and I have two issues.

1. Error reporting about gettimeofday whining about not being safe to rely on system timezone.

Code: Select all

Unknown error type: [2] gettimeofday(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still gett
reported from /var/www/zoneminder/htdocs/includes/logger.php line 580

2. I no longer see the 'still' images, I can still see the motion, just not the individual frames. I notice if I click the 'slider' on the stills window, I see the error from point 1, each time.

I am using Gentoo amd64 ebuild from layman overlay zugaina.

I have run zmupdate -f , everything but the stills display, seems to be ok.

Suggestions welcomed :)

Re: Upgraded to 1.25.0 - Timezone error & no Still Images

Posted: Wed Sep 28, 2011 12:41 am
by lyallp
Fixed the timezone problem.

Had to update my PHP.INI files to have an appropriate value for date.timezone, in my case, "Australia/Adelaide" :-)

Still have problems getting the 'Stills' window to display the stills. I see

Code: Select all

ERR [img.ingectInside is not a function]
in my system error log.
Also, the zoneminder logs show this is sourced from zoneminder/skins/classic/views/js/event.js line 504.


I tried changing my skin to XML and had a world of pain getting 'classic' back, to the point of editing index.php to override the default with 'classic', until I was able to reset my skin.

Re: Timezone error[Solved] & no Still Images[Solved]

Posted: Fri Oct 07, 2011 5:20 am
by lyallp
Rebooted machine and problem went away. :shock: