From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 15:44:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EEA106566C for ; Sat, 10 Jul 2010 15:44:45 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6CB68FC0A for ; Sat, 10 Jul 2010 15:44:44 +0000 (UTC) Received: by gwb15 with SMTP id 15so2038723gwb.13 for ; Sat, 10 Jul 2010 08:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=UF6VqBycs9nihTE8839r7MOQA6JLpgc0t9TCRR+689g=; b=qJOd6pQPsVuzKni3KkBz8mikIdMmW/LROZNGUdTxeVDvNAbeV/mKF2fqB7LbBYm3jA slOeaLGO1KKU0ky4ncLb+xbBLzC6d6999qSWYxIW3tnr/dh52jH/ojSWvG+/bcKxddzl fcm8oVxMzd3C0mPliD9Gh6n/3OxcRzHsQyjBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=DZFrGRm6sGxTZ+VT5Vx5JMwr1GxpLAhElKa4ee9sPoa8rVQ/D7iKc/pWkZ5ADI3QZL igNbKnH7RaP6DCkimDMNEKcf3IYvDM4/rumbPADZdxesEYClfYKI6ktLVzCzLDvfPKva KocRgXli+Cp3wmsS1oLcNtjG/7UqJ1MylJYKw= Received: by 10.229.245.213 with SMTP id lv21mr6965832qcb.130.1278776674144; Sat, 10 Jul 2010 08:44:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.82.77 with HTTP; Sat, 10 Jul 2010 08:44:14 -0700 (PDT) In-Reply-To: References: From: Amitabh Kant Date: Sat, 10 Jul 2010 21:14:14 +0530 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Squirrel Mail Time Zone Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 15:44:45 -0000 On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness 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