From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 17:26:46 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 837861065679 for ; Sat, 12 Jun 2010 17:26:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 47E1B8FC14 for ; Sat, 12 Jun 2010 17:26:45 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o5CHQhNg019669 for ; Sat, 12 Jun 2010 10:26:43 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 12 Jun 2010 10:26:42 -0700 (PDT) Date: Sat, 12 Jun 2010 10:26:42 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100612172639.GA80940@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: php help, please.... 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, 12 Jun 2010 17:26:46 -0000 a few days ago i got my webserver working.. late last night i found the following error on my http://www.thought.org page: 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/apache22/data/randmeditations.php on line 6 as an example of my use of "date() is $hour = date("H"); can anybody 'splain what suddenly went wrong with my two-year-old php script? gary ps: FWIW: I am pulling this part from my home page today. i figure every 18-30 months pages need updating. but would shore like to know wha' happened.... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel