Date: Sat, 10 Jul 2010 09:10:29 -0700 From: Chris Maness <chris@chrismaness.com> To: Amitabh Kant <amitabhkant@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Squirrel Mail Time Zone Errors Message-ID: <AANLkTimosOvqh4owD51JjqldP8Xemv6gg8o18RGBAzzi@mail.gmail.com> In-Reply-To: <AANLkTilwOHH4WOWIc3tTY5AL9d_bXf3h0Bpg7kBaaEmO@mail.gmail.com> References: <AANLkTilqBRHOTSR-CarKCtjTTLne773SZI45IPirOQP4@mail.gmail.com> <AANLkTilwOHH4WOWIc3tTY5AL9d_bXf3h0Bpg7kBaaEmO@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 10, 2010 at 8:43 AM, Amitabh Kant <amitabhkant@gmail.com> wrote=
:
> On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness <chris@chrismaness.com> wro=
te:
>>
>> 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 =A0on 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 th=
e
> top using "date_default_timezone_set('America/Los_Angeles');"
>
> Amitabh Kant
>
Instant fix. Thank You.
Chris Maness
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimosOvqh4owD51JjqldP8Xemv6gg8o18RGBAzzi>
