Date: Thu, 15 Apr 2010 23:32:33 -0700 From: Micheas Herman <m@micheas.net> To: troy@twisted.net Cc: freebsd-ports@freebsd.org Subject: Re: After horde 3.3.6_1 upgrade - php error cannot modify header information - headers already sent Message-ID: <1271399553.15458.2927.camel@vcampaign> In-Reply-To: <4BC7FE58.6050008@twisted.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> <4BC7FE58.6050008@twisted.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2010-04-16 at 01:06 -0500, Troy wrote: > 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? in php 5.3 date.timezone must be set to a valid time zone. http://us.php.net/manual/en/timezones.php gives you a list of valid time zones. That should work. > > 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. > > > > > > -- I do desire we may be better strangers. -- William Shakespeare, "As You Like It"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1271399553.15458.2927.camel>