Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 01:06:16 -0500
From:      Troy <troy@twisted.net>
To:        freebsd-ports@freebsd.org, m@micheas.net
Subject:   Re: After horde 3.3.6_1 upgrade - php error cannot modify header information - headers already sent
Message-ID:  <4BC7FE58.6050008@twisted.net>
In-Reply-To: <1271226426.28425.57098.camel@vcampaign>
References:  <201004071800.o37I01Du092056@repoman.freebsd.org>	<20100407190533.C545C5A905F@jester1b.ixsystems.com>	<4BC5542C.4080500@twisted.net> <4BC55B66.8020409@FreeBSD.org> <1271226426.28425.57098.camel@vcampaign>

next in thread | previous in thread | raw e-mail | index | archive | help
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() [<a 
href='datetime.--construct'>datetime.--construct</a>]: 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.
>>
>>      
>    



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC7FE58.6050008>