Warning: date() [function.date]

Anyone know how to fix this error, not sure how to set?  I do not recall setting any thing that it refers to. Thanks 

 

Warning: date() [function.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/Denver' for 'MST/-7.0/no DST' instead in /home/dietary/public_html/inc/classes/BxDolTemplate.php on line 782

Quote · 14 Dec 2012

date_default_timezone_set('America/Denver');

PASTE THIS INTO THE TOP OF  INC/header.inc.php

 

happy thoughts

Quote · 14 Dec 2012

That seems to work, THANKS!

Quote · 14 Dec 2012

The best way would be to set it in the PHP config file, usually php.ini.  If you don't have access to the php config on your host, then you can include a php.ini file in your root of the site; you can get a copy of the host's php.ini file and then change the date location.

Geeks, making the world a better place
Quote · 14 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.