It is not safe to rely on the system's timezone settings.
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.
If you are getting errors like the one above, it is because the php.ini file is missing the date.timezone setting.
Since PHP 5.1 all date related functions now require a default timezone to be set in the ini. Some webhosts do not include this required setting in the php.ini file.
To fix this, simply add the following line of code to your php.in file.
date.timezone = "America/Chicago"
Be sure to change the timezone to match your current timezone. A list of supported timezones can be found here.
If you cannot edit your php.ini file for any reason, you can
simply add the following line to your
Some users have reported that 1and1 hosting requires you to have a php.ini file in each subdirectory of Family Connections in order for this change to take affect. Here is an article from 1and1 explaining how to do this