Can anyone give me pointers on how to resolve he following error?
-Rob
ERROR 2: 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 'CDT/-5.0/DST' instead
0 Error occurred on in function date
1 called from line 310 of file session.php in function require_once
2 called from line 75 of file config.php in function require
3 called from line 30 of file editgedcoms.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 'CDT/-5.0/DST' instead in /www/docs/heape-net/familytree/includes/authentication.php on line 294 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 'CDT/-5.0/DST' instead in /www/docs/heape-net/familytree/includes/session.php on line 310
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Rob
What you don't divulge is that you have recently upgraded or installed PGV on a php5.3+ equipped system.
php 5.3 requres that you define your server location, as noted in the error message, in your php.ini
Google the error and you'll see hundreds of recent posts inquiring on the same, as well as some here. Just add the lines required to your php.ini to properly configure your server, or set the php.ini to ignore these kinds of error messages.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://www.heape.net/familytree
Can anyone give me pointers on how to resolve he following error?
-Rob
ERROR 2: 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 'CDT/-5.0/DST' instead
0 Error occurred on in function date
1 called from line 310 of file session.php in function require_once
2 called from line 75 of file config.php in function require
3 called from line 30 of file editgedcoms.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 'CDT/-5.0/DST' instead in /www/docs/heape-net/familytree/includes/authentication.php on line 294 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 'CDT/-5.0/DST' instead in /www/docs/heape-net/familytree/includes/session.php on line 310
Your two choices are
1) Edit PHP.INI to set a timezone
2) Edit PHP.INI to ignore the warnings.
Rob
What you don't divulge is that you have recently upgraded or installed PGV on a php5.3+ equipped system.
php 5.3 requres that you define your server location, as noted in the error message, in your php.ini
Google the error and you'll see hundreds of recent posts inquiring on the same, as well as some here. Just add the lines required to your php.ini to properly configure your server, or set the php.ini to ignore these kinds of error messages.
-Stephen