From owner-freebsd-ports@FreeBSD.ORG Fri Apr 16 06:06:30 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A75106566B for ; Fri, 16 Apr 2010 06:06:30 +0000 (UTC) (envelope-from troy@twisted.net) Received: from oz.twisted.net (oz.twisted.net [69.211.34.241]) by mx1.freebsd.org (Postfix) with ESMTP id 54D268FC08 for ; Fri, 16 Apr 2010 06:06:30 +0000 (UTC) Received: from oz.twisted.net (localhost [127.0.0.1]) by oz.twisted.net (Postfix) with ESMTP id 576FFFF1A72; Fri, 16 Apr 2010 01:09:53 -0500 (CDT) X-Virus-Scanned: amavisd-new at example.com Received: from oz.twisted.net ([127.0.0.1]) by oz.twisted.net (oz.twisted.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ztGhIKXoQpz; Fri, 16 Apr 2010 01:09:42 -0500 (CDT) Received: from [172.16.0.5] (sindrome.twisted.net [172.16.0.5]) by oz.twisted.net (Postfix) with ESMTP id C3475FED1F4; Fri, 16 Apr 2010 01:09:41 -0500 (CDT) Message-ID: <4BC7FE58.6050008@twisted.net> Date: Fri, 16 Apr 2010 01:06:16 -0500 From: Troy User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, m@micheas.net References: <201004071800.o37I01Du092056@repoman.freebsd.org> <20100407190533.C545C5A905F@jester1b.ixsystems.com> <4BC5542C.4080500@twisted.net> <4BC55B66.8020409@FreeBSD.org> <1271226426.28425.57098.camel@vcampaign> In-Reply-To: <1271226426.28425.57098.camel@vcampaign> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: After horde 3.3.6_1 upgrade - php error cannot modify header information - headers already sent X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: troy@twisted.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 06:06:30 -0000 Michaes, Thanks for the reply. I changed the output_buffering setting, but I already was running 1.11.6 of Pear.log and I'm still getting that warning. This is also showing up and appears to be the root of why horde is not working. Do you know how to fix this? *Fatal error*: Uncaught exception 'Exception' with message 'DateTime::__construct() [datetime.--construct]: 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/Chicago' for 'CDT/-5.0/DST' instead' in /usr/local/www/horde/lib/Horde/Date.php:537 Stack trace: #0 /usr/local/www/horde/lib/Horde/Date.php(537): DateTime->__construct() #1 /usr/local/www/horde/lib/Horde/Date.php(588): Horde_Date->format('Y-m-d H:i:s') #2 /usr/local/www/horde/lib/Horde/Alarm/sql.php(143): Horde_Date->sqlDateTime() #3 /usr/local/www/horde/lib/Horde/Alarm.php(275): Horde_Alarm_sql->_list(false, Object(Horde_Date)) #4 /usr/local/www/horde/lib/Horde/Alarm.php(301): Horde_Alarm->listAlarms(false, NULL, true, true) #5 /usr/local/www/horde/lib/Horde/Notification.php(209): H in */usr/local/www/horde/lib/Horde/Date.php* on line *537 * pear-Log-1.11.6 PEAR logging utilities On 04/14/2010 1:27 AM, Micheas Herman wrote: > The fix for the second error is to enable output buffering in php.ini > > output_buffering = 4096 > > Should be a safe setting. > > The fix for the warning in > /usr/local/share/pear/Log.php > > should be made by upgrading to pear-log package to 1.11.6 The bug is in > pear/log 1.11.5 and earlier. > > Micheas > > > > On Wed, 2010-04-14 at 08:06 +0200, Alex Dupre wrote: > >> Troy ha scritto: >> >>> When I go to login to the horde framework I'm getting the following >>> errors in the web browsers: >>> >>> Deprecated: Assigning the return value of new by reference is deprecated >>> in /usr/local/share/pear/Log.php on line 169 >>> >> Disable the error logging to the web browser... >> >> >>> Warning: Cannot modify header information - headers already sent by >>> (output started at /usr/local/share/pear/Log.php:169) in >>> /usr/local/www/horde/index.php on line 92 >>> >> ...and this will disappear. >> >> >