[Tickets #9312] Horde breaks under php5.3 when alarms is configured /srv/www/htdocs/horde/lib/Horde/Date.php on line 537

bugs at horde.org bugs at horde.org
Fri Oct 15 18:35:28 UTC 2010


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/9312
------------------------------------------------------------------------------
  Ticket           | 9312
  Erstellt Von     | Ralf Lang <lang at b1-systems.com>
  Zusammenfassung  | Horde breaks under php5.3 when alarms is configured
                   | /srv/www/htdocs/horde/lib/Horde/Date.php on line 537
  Warteschlange    | Horde Base
  Version          | 3.3.9
  Typ              | Bug
  Status           | Unconfirmed
  Priorität       | 1. Low
  Milestone        |
  Patch            |
  Zuständige      |
------------------------------------------------------------------------------


Ralf Lang <lang at b1-systems.com> (2010-10-15 14:35) hat geschrieben:

When activating Horde_Alarms mysql logging, the content window of all  
horde apps kept empty white with the warning:

Fatal error: Uncaught exception 'Exception' with message  
'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 'Europe/Berlin' for  
'CEST/2,0/DST' instead' in  
/srv/www/htdocs/horde/lib/Horde/Date.php:537 Stack trace: #0  
/srv/www/htdocs/horde/lib/Horde/Date.php(537): DateTime->__construct()  
#1 /srv/www/htdocs/horde/lib/Horde/Date.php(588):  
Horde_Date->format('Y-m-d H:i:s') #2  
/srv/www/htdocs/horde/lib/Horde/Alarm/sql.php(143):  
Horde_Date->sqlDateTime() #3  
/srv/www/htdocs/horde/lib/Horde/Alarm.php(275):  
Horde_Alarm_sql->_list('admin', Object(Horde_Date)) #4  
/srv/www/htdocs/horde/lib/Horde/Alarm.php(321):  
Horde_Alarm->listAlarms('admin', NULL, true, true) #5  
/srv/www/htdocs/horde/lib/Horde/Notification.php(209):  
Horde_Alarm->notify('admin') #6  
/srv/www/htdocs/horde/turba/templates/menu.inc(16):  
Notification->notify(Array) #7  
/srv/www/htdocs/horde/turba/add.php(72): require('/srv/www/htdocs...')  
#8 {main} thrown in /srv/www/htdocs/horde/lib/Horde/Date.php on line 537

Setting the value in php.ini did not help.






More information about the bugs mailing list