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

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

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

Post 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 :)
Last edited by lyallp on Fri Oct 07, 2011 5:21 am, edited 2 times in total.
...Lyall
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

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

Post 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.
...Lyall
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

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

Post by lyallp »

Rebooted machine and problem went away. :shock:
...Lyall
Locked