Jump to content

Quick question on System Time vs Local Time?


skymx

Recommended Posts

This is the error message I am getting, have this problem in local machine, not on the server the airline actually is.

Where to set the timezone info?

Warning: strtotime() [function.strtotime]: 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/Chicago' for 'CST/-6.0/no DST' instead in /var/www/html/phpvms/core/classes/CodonCache.class.php on line 201

Thanks a lot for any tip.

Sergio Korlowsky

Link to comment
Share on other sites

I believe you have to set the timezone in local.config.php

Probably near the top

I havent seen a place where this information goes in local.config.php, but I will take a closer look, thanks a lot!

PD. The funny part is: I do not have this problem with the main site, it is just in my test PC, in my local system,

which I use to experiment with phpvms and when thing looks right, just move contents to the permanent site.

SOLVED!!! It has nothing to do with PhPvms, is with the server I am using, I had to add the time zone in the php.ini file. Ex...

[Date]

; Defines the default timezone used by the date functions

; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone

date.timezone = America/Mexico_City

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...