Page 1 of 1
newbie: 'It is not safe to rely on the system's timezone set
Posted: Sat Jan 12, 2013 9:35 pm
by neuronetv
just checked my zm log and it has loads of these error messages:
'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'
so I suppose I need to use ntp, but I don't know where this setting is.....
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Thu Jan 17, 2013 12:30 am
by robertbruce
hi neuronetv...
im a nooby too and is having same problem...im an hour out
i did some reading and adjusting time using ntp can be bad for things
so i found a city in the correct time zone and set it for that... it was ok for a while but now it is back too running an hour in advance....
and im running an hour behind because of it with still not being able to fix it...
please post your solution when you find it
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Thu Jan 17, 2013 4:10 am
by bb99
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Thu Jan 17, 2013 6:00 am
by robertbruce
had a read,
had a search,
cant find where php5.ini is supposed to be
burnt another 35minutes,
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Thu Jan 17, 2013 7:12 pm
by PacoLM
robertbruce wrote:had a read,
had a search,
cant find where php5.ini is supposed to be
burnt another 35minutes,
find / -name php.ini
or
locate php.ini
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Fri Jan 18, 2013 12:45 am
by robertbruce
...now that the sort of answer i like....thank-you Paco
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Fri Jan 18, 2013 6:22 am
by PacoLM
Did you fix it?
Re: newbie: 'It is not safe to rely on the system's timezone
Posted: Fri Jan 18, 2013 6:39 am
by robertbruce
HI Paco,
nahh, couldn't fix it, again.....
i started another thread nagging about the difficulty in searching common terms like set time....
I found a whole lot of php files... i went throug most of them but couldnt find that setting...
system time if fine
video time stamping is right
zoneminder consol page is out an hour
this is what i am trying to do
-update/check my PHP.INI files to have an appropriate value for date.timezone, in my case, "Australia/Brisbane
http://www.zoneminder.com/forums/viewto ... day#p72064