From owner-freebsd-questions@FreeBSD.ORG Sun May 23 01:45:42 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372791065676 for ; Sun, 23 May 2010 01:45:42 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id D58D98FC0A for ; Sun, 23 May 2010 01:45:41 +0000 (UTC) Received: by qyk11 with SMTP id 11so3941609qyk.13 for ; Sat, 22 May 2010 18:45:41 -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:cc:content-type; bh=eexjr4hNRMSAjPCgSPPhOtc1zxrxFKdF3SLzdNkFjEI=; b=O41e5cNsWx6+DhXrmYgEgKH2m/9kVsiD85c/vZLa66+PYMK568LUYELO7L9oR9cwbp zIPhJo0OHeTkR6pV75Nrk9qBwkK0A55KkL3EnLkp0PfNzqtj8IpiWCQNrbTFzOfqaLYq Q2MjVJh1ni8U+SOdBT2Cx5gb4JpJZFfiub9qk= 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 :cc:content-type; b=KL8BPhx641YNXOJYkCBEGvAYfk6crcKcfDTYsrjFJWxxeraE+zAV8ukqV629c9yfas +c5AAXJTXKLW1nTqge3TVpbmsbwDEbh8iuunEOMOirik7iOE+lu1TT9hoSFG0/RASDMA Yxs90dTCwjQhLrRpx/BbN/ki4TGa4LWzVN94g= Received: by 10.229.97.5 with SMTP id j5mr794290qcn.133.1274577421096; Sat, 22 May 2010 18:17:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.240.132 with HTTP; Sat, 22 May 2010 18:16:41 -0700 (PDT) In-Reply-To: <4BF87A70.1040705@a1poweruser.com> References: <4BF87A70.1040705@a1poweruser.com> From: Amitabh Kant Date: Sun, 23 May 2010 06:46:41 +0530 Message-ID: To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: class.phpmailer.php Warning: date() [function.date]: 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: Sun, 23 May 2010 01:45:42 -0000 On Sun, May 23, 2010 at 6:14 AM, Fbsd1 wrote: > Running Apache-1.3.41_1 PHP5-5.2.12 I did not get this message, which I now > get running Apache/2.2.15 (FreeBSD) PHP/5.3.2 > Is their way to stop this? > > 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 'Asia/Manila' for 'PHT/8.0/no DST' > instead in /usr/local/website/mlsax/class.phpmailer.php on line 1406 > > Somewhere on top of your script, set the time zone: date_default_timezone_set('Asia/Manila'); With regards Amitabh