Error date.timezone

dheghel

Avatar: dheghel

2013-11-26 03:08

[quote]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 C:\Apache24\htdocs\35\core\common.php on line 288[/quote]

I had error on the top of page...
I added script in php.ini :
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Bangkok

so add php_value date.timezone Asia/Bangkok
to .htaccess

but doesn't fix the problem

I use :
- Windows 8 Pro 64bit
- PHP 5.5.5
- APache 2.4.7

Anybody can help me? thx

» Quick.Cart v4.x

wewior (OpenSolution)

Avatar: wewior

2013-11-27 08:07

Maybe try to use: http://pl.php.net/manual/en/function.date-default-timezone-set.php if should return false if there is any problem.

Back to top
about us | contact