From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 16:10:30 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 5CDBE106564A for ; Sat, 10 Jul 2010 16:10:30 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 202DD8FC18 for ; Sat, 10 Jul 2010 16:10:29 +0000 (UTC) Received: by iwn35 with SMTP id 35so4052563iwn.13 for ; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=mvgEVCFx97HSkAhILR1n1D3gn8d/xu/fv1i/DwW/xDU=; b=mHuFKX0e6AgOUfc0XeN8lKHHq3Hh28saBcsjR9k80nU16Q2/3ByFtx29FKYmRsv4PZ iljEbDeqyvH6uI7K4HKO97O+9PiH7fr7betQ4zyExHbAJH+kvYVhFhmETa5EmlOsWLK7 9EiCtv7/Qj+WBsEXSWa6pdExidffJyVCuPonE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=n9trO9+xsYzIMbQNzHbyxlxl7MkLNbhRelQCbXO7edrZBAosIWMGdzqCSXUbdB1rOa wNE6IyTLePrDwWeIEUeiX07UjHyhEGGr1TroWnf64T0e9m+mkIYhx/hWX2lW79hUcclm AWP5Ie5+LUAUIfgMvL8ehhk54C3enbyMKomm0= MIME-Version: 1.0 Received: by 10.231.31.7 with SMTP id w7mr11287860ibc.83.1278778229347; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.166.79 with HTTP; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Jul 2010 09:10:29 -0700 X-Google-Sender-Auth: NmR68QXuNueHssMzu__zG5n1iYM Message-ID: From: Chris Maness To: Amitabh Kant Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org 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 16:10:30 -0000 On Sat, Jul 10, 2010 at 8:43 AM, Amitabh Kant wrote= : > On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness 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