6.0.0-alpha12
6/7/25

[#9286] PHP Fatal error Uncaught exception DateTime
Summary PHP Fatal error Uncaught exception DateTime
Queue Horde Groupware Webmail Edition
Queue Version 1.2.7
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester mi.mue (at) online (dot) de
Created 10/05/2010 (5359 days ago)
Due
Updated 10/05/2010 (5359 days ago)
Assigned
Resolved 10/05/2010 (5359 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/05/2010 03:24:28 PM Michael Rubinsky Comment #3
State ⇒ Not A Bug
Priority ⇒ 1. Low
Reply to this comment
The error message tells you exactly what is wrong and what to do about 
it. If you need further help, please ask on the mailing list.
10/05/2010 01:09:14 PM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
Add

     date.timezone = Europe/Berlin

to your php.ini file and you'll be fine.
10/05/2010 09:15:50 AM mi (dot) mue (at) online (dot) de Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ PHP Fatal error Uncaught exception DateTime
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
PHP Warning:  strftime(): 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/vhosts/www.itcon.tux/htdocs/mail-itcon/imp/config/prefs.php 
on line 321-342, 1259-1263

PHP 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 .../lib/Horde/Date.php:537
Stack trace:
#0 .../lib/Horde/Date.php(537): DateTime->__construct()
#1 .../lib/Horde/Date.php(588): Horde_Date->format('Y-m-d H:i:s')
#2 .../lib/Horde/Alarm/sql.php(143): Horde_Date->sqlDateTime()
#3 .../lib/Horde/Alarm.php(275): Horde_Alarm_sql->_list(false, 
Object(Horde_Date))
#4 .../lib/Horde/Alarm.php(321): Horde in .../lib/Horde/Date.php on line 537

Saved Queries