6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/31/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9608] Add date_default_timezone_set to avoid E_WARNING's
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . .. ..__ .___ [__)\ /\ /[__)[__ | \/ \/ | |
Comment
> I added date_default_timezone_set to avoid E_WARNING's at > Horde_Log_Logger. This is being setted up as "high priority" since > this warnings appear as popups every time a user tries to do > something on imp (besides having the server's error log full of > warnings). > > More info at > http://php.net/manual/en/function.date-default-timezone-set.php , > but, basicly, since PHP 5.1.0 you have to date_default_timezone_set > before using date (or else you'll get an E_WARNING), and that's not > being done at Horde_Log_Logger. The patch is a simple one liner, and > will work in previous PHP versions (if the function doesn't exist, > then it doesn't try to use it). > > The patch (attached) can be fetched from github directly if you > prefer: > https://github.com/marado/horde/commit/18140f6dd5b8f964b0d2dcc648f7d4b578199712
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers