ropensci-archive / apistatus

:no_entry: ARCHIVED :no_entry:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php error

sckott opened this issue · comments

@jaymollica Wonder if this is just on my machine, but when I run the app It works but i get

Warning: date(): 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 getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/sacmac/github/ropensci/apistatus/php/apistatus.php on line 57

oh strange, I did not get that. I'll add in a timezone.

Jay

On Thu, Apr 3, 2014 at 4:28 PM, Scott Chamberlain
notifications@github.comwrote:

@jaymollica https://github.com/jaymollica Wonder if this is just on my
machine, but when I run the app It works but i get

Warning: date(): 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 getting this warning, you most likely misspelled the
timezone identifier. We selected the timezone 'UTC' for now, but please set
date.timezone to select your timezone. in
/Users/sacmac/github/ropensci/apistatus/php/apistatus.php on line 57

Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

I could have some older version of php

~$ php --version
PHP 5.4.24 (cli) (built: Jan 19 2014 21:32:15)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Ok, I added a set timezone function, let me know if that clears things up
for you. I was unable to reproduce the warning on my local machine.

On Thu, Apr 3, 2014 at 4:34 PM, Scott Chamberlain
notifications@github.comwrote:

I could have some older version of php

~$ php --version
PHP 5.4.24 (cli) (built: Jan 19 2014 21:32:15)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-39517794
.

Fixed! thanks :)