On Sat, Jul 10, 2010 at 8:43 AM, Amitabh Kant <amitabhk...@gmail.com> wrote: > On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness <ch...@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 >
Instant fix. Thank You. Chris Maness _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"