[Tickets #4796] Issue with custom display_cals hook and reminders.php

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Dec 18 06:33:13 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4796
-----------------------------------------------------------------------
 Ticket             | 4796
 Created By         | dlayo at dioceseaj.org
 Summary            | Issue with custom display_cals hook and reminders.php
 Queue              | Kronolith
 Version            | 2.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


dlayo at dioceseaj.org (2006-12-18 06:33) wrote:

Using the customizing examples for the hooks into display_cals and fb_cals
from the Wiki (from Ben Chavet), adding attendees and the execution of
reminders.php causes php errors (and, of course, bad results within
Horde).  The hooks seem to be functioning well otherwise.

While adding attendees to an event, the php error : "PHP Fatal error: 
Call to undefined function:  set() in /var/www/html/horde/config/hooks.php
on line x" occurs, where x = $share->set('name', sprintf(_("%s's
Calendar"), $name));

While executing reminders.php, the same PHP error occurs, however,
pointing to the next line in the custom display_cals hook: 
$kronolith_shares->addShare($share);

Removing the custom hook (commenting out the offending line(s)), free/busy
and reminders seem to work, however, other name resolutions within the
system fail to work properly, as expected.




More information about the bugs mailing list