Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#235 closed defect (invalid)

TimeZone PHP Warnings On Administration Page

Reported by: war59312 Owned by: moo
Priority: trivial Milestone: 1.3.1
Component: admin Version: 1.3.0
Keywords: timezone, warning, php Cc:
Application: PHP Version: 5.3.1
Other Exts: SAPI: FastCGI
Probability: Always Blocked By:
Blocking:

Description

Hi,

Every time I view the XCache 1.3.0 Administration page two PHP Warnings are logged in my log file.

Can this please be fixed?

Thanks,

Will

2010/02/12 02:14:58 [error] 30339#0: *3 FastCGI sent in stderr: "PHP Warning: phpinfo(): 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 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nginx/html/admin/xcache.php on line 207

PHP Warning: phpinfo(): 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 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nginx/html/admin/xcache.php on line 207" while reading response header from upstream, client: 192.168.1.105, server: localhost, request: "GET /admin/ HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.193"

Change History (2)

comment:1 Changed 5 years ago by moo

  • Resolution set to invalid
  • Status changed from new to closed

not a XCache bug. it's php that require you set date.timezone in ini and the warning let you know you should do so

comment:2 Changed 5 years ago by war59312

All right thanks, clearly I was a newbie. ;)

Note: See TracTickets for help on using tickets.