Squirrel Mail Time Zone Errors
Amitabh Kant
amitabhkant at gmail.com
Sat Jul 10 15:44:45 UTC 2010
On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness <chris at chrismaness.com> wrote:
> Is anyone getting these errors when logging in to Squirrel Mail?
>
> Warning: strtotime() [function.strtotime]: 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/Los_Angeles' for 'PDT/-7.0/DST' instead in
> /usr/local/www/squirrelmail/functions/date.php on line 428
>
> 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/Los_Angeles' for 'PDT/-7.0/DST' instead in
> /usr/local/www/squirrelmail/functions/date.php on line 95
>
> 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/Los_Angeles' for 'PDT/-7.0/DST' instead in
> /usr/local/www/squirrelmail/functions/date.php on line 347
>
> 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/Los_Angeles' for 'PDT/-7.0/DST' instead in
> /usr/local/www/squirrelmail/functions/date.php on line 289
>
> These things go on forever in the in box.
>
> Thanks,
> Chris Maness
>
Have you recently upgraded to php 5.3 recently? You might need to set the
time zone either in php.ini file or set the same on the script page at the
top using "date_default_timezone_set('
America/Los_Angeles');"
Amitabh Kant
More information about the freebsd-questions
mailing list