Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2010 21:14:14 +0530
From:      Amitabh Kant <amitabhkant@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Squirrel Mail Time Zone Errors
Message-ID:  <AANLkTik7voBY0yuH8LV7JLz4Y_Oe_hZ876j_tNCn4mYQ@mail.gmail.com>
In-Reply-To: <AANLkTilqBRHOTSR-CarKCtjTTLne773SZI45IPirOQP4@mail.gmail.com>
References:  <AANLkTilqBRHOTSR-CarKCtjTTLne773SZI45IPirOQP4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness <chris@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik7voBY0yuH8LV7JLz4Y_Oe_hZ876j_tNCn4mYQ>