Community Support for OpenDocMan (Deprecated)

Full Version: php warning on time zone (scrolling errors)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What do I need to modify in my opendocman setup to get rid of the following error messages:

[Thu Jan 19 10:09:56 2012] [error] [client 24.xx.xx.xx :!: ] PHP 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 'America/Chicago' for 'CST/-6.0/no DST' instead in /var/www/html/functions.php on line 56, referer: <!-- m --><a class="postlink" href=""></a><!-- m -->
I think you can either update your php.ini to contain date.timezone settings, or add date_default_timezone_set() before that line to manually set the date. Let me know if this fixes it.