I get this error when I open up phpgedview in my browser.
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/New_York' for 'EST/-5.0/no 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 29 of file login.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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/includes/authentication.php on line 299 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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/includes/session.php on line 310
What can be causing this? I am using the current version of phpgedview. Not from cvs. I am running it on a Fedora Core 12 server. I don't know if I have PDO/mysql installed or not. I don't think that would be the problem anyways. Any info would be greatly appreciated. Thanks. Apache version: 2.2.14 MySql version: 5.1.44 PHP version: 5.3.1. Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this error when I open up phpgedview in my browser.
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/New_York' for 'EST/-5.0/no 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 29 of file login.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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/includes/authentication.php on line 299 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/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/phpgedview/includes/session.php on line 310
What can be causing this? I am using the current version of phpgedview. Not from cvs. I am running it on a Fedora Core 12 server. I don't know if I have PDO/mysql installed or not. I don't think that would be the problem anyways. Any info would be greatly appreciated. Thanks. Apache version: 2.2.14 MySql version: 5.1.44 PHP version: 5.3.1. Thanks in advance.
Not a PGV issue, but rather a PHP setup issue. Have you checked your php configuration (php.ini)?
http://www.w3schools.com/php/php_ref_date.asp
-Stephen