6.0.0-git
2019-03-24

[#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 2010-10-05 (3092 days ago)
Due
Updated 2010-10-05 (3092 days ago)
Assigned
Resolved 2010-10-05 (3092 days ago)
Milestone
Patch No

History
2010-10-05 15:24:28 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.
2010-10-05 13:09:14 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.
2010-10-05 09:15:50 mi (dot) mue (at) online (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 3. High
Summary ⇒ PHP Fatal error Uncaught exception DateTime
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
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