skymx Posted November 8, 2011 Report Share Posted November 8, 2011 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 Quote Link to comment Share on other sites More sharing options...
Tom Posted November 8, 2011 Report Share Posted November 8, 2011 I believe you have to set the timezone in local.config.php Probably near the top Quote Link to comment Share on other sites More sharing options...
Will Posted November 8, 2011 Report Share Posted November 8, 2011 Can you add it to your php.ini? Quote Link to comment Share on other sites More sharing options...
skymx Posted November 8, 2011 Author Report Share Posted November 8, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.