skymx Posted November 8, 2011 Report 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
Tom Posted November 8, 2011 Report Posted November 8, 2011 I believe you have to set the timezone in local.config.php Probably near the top Quote
skymx Posted November 8, 2011 Author Report 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
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.