1

Topic: Error with the PHP timezone

Hello,
I get this error in my log file.

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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /my-path/includes/core/core.template.php on line 0

How can I solve it?
Thank you.

Last edited by pierrehs (2011-12-15 09:41:25)

2

Re: Error with the PHP timezone

I solved the timezone problem with the PHP function date_default_timezone_set
Thanks

3

Re: Error with the PHP timezone

Or set 'date.timezone' setting in your php.ini configuration file.

Developer

4

Re: Error with the PHP timezone

Yes, thank you but here I do not have access to php.ini