6.0.0-alpha14
7/2/25

[#7413] portal load fails with PHP fatal error
Summary portal load fails with PHP fatal error
Queue Horde Groupware Webmail Edition
Queue Version 1.2
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester wolfgang.rosenauer (at) an-netz (dot) de
Created 09/30/2008 (6119 days ago)
Due
Updated 12/05/2008 (6053 days ago)
Assigned 10/07/2008 (6112 days ago)
Resolved 12/05/2008 (6053 days ago)
Github Issue Link
Github Pull Request
Milestone 1.2.1
Patch No

History
12/05/2008 11:21:05 PM Jan Schneider Comment #7
State ⇒ Resolved
Reply to this comment
Patch added for the next release.
10/07/2008 01:24:41 PM Jan Schneider Comment #5
Milestone ⇒ 1.2.1
State ⇒ Assigned
Assigned to Jan Schneider
Reply to this comment
Yes, we should provide a patch if a new release hasn't been made by 
the next release.
10/01/2008 06:27:44 AM wolfgang (dot) rosenauer (at) an-netz (dot) de Comment #4 Reply to this comment
About the "not a bug" flag: This PEAR module is shipped with Horde 
Webmail so even if it's no bug in Horde's own code it's still 
distributed in a buggy state.

So IMHO this warrants tracking in your tracking system.
09/30/2008 04:29:42 PM wolfgang (dot) rosenauer (at) an-netz (dot) de Comment #3 Reply to this comment
Oh, it's actually fixed in their CVS already.
09/30/2008 03:43:44 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Priority ⇒ 1. Low
Reply to this comment
Disable holidays support and/or file a bug against Date_Holidays 
(http://pear.php.net/package/date_holidays) to not call easter_days 
without checking for its availability.
09/30/2008 08:09:30 AM wolfgang (dot) rosenauer (at) an-netz (dot) de Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ portal load fails with PHP fatal error
Type ⇒ Bug
Priority ⇒ 3. High
Reply to this comment
I just upgraded to 1.2 from 1.1.3 and after update the portal didn't 
load anymore.

I found this in the logs:



HP Fatal error:  Call to undefined function easter_days() in 
/srv/www/htdocs/groupware/pear/Date/Holidays/Driver/Christian.php on 
line 398, referer: 
https://www.an-netz.de/groupware/services/portal/sidebar.php



After commenting out

if (function_exists(easter_days())) {

            return easter_days($year);

}

completely it works again.




Saved Queries