My Apache error_log file is flooded with PHP warnings.
SquirrelMail: 1.4.20 [SVN]-0.rc2.20090917.fc12 installed on a Fedora 12 box.
Apache: [Thu Dec 31 01:27:31 2009] [notice] Apache/2.2.14 (Unix) DAV/2 PHP/5.3.1 mod_python/3.3.1 Python/2.6.2 mod_ssl/2.2.14 OpenSSL/1.0.0-fips-beta4 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
IMAP: dovecot 1:1.2.8-2.fc12
The warnings I get are like these:
[Thu Dec 31 01:27:47 2009] [error] [client 126.96.36.199] 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/share/squirrelmail/functions/date.php on line 289, referer: https://webmail.arendsen.org/squirrelmail/src/webmail.php
Warnings differ in mentioned function and location as follows:
strtotime() line 428
date() line 95, 347, 289
Log in to post a comment.