[imp] problem with IMP 4.1 RC2

Jan Schneider jan at horde.org
Sun Feb 5 14:46:28 PST 2006


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Lucien GENTIS <lucien.gentis at lorraine.iufm.fr>:
>
>> Notice*: Undefined index: audio in
>> */usr/local/apache-2.2.0/htdocs/horde-3.0.9/lib/Horde/Notification.php*
>> on line *190*
>> *Fatal error*: Call to a member function notify() on a non-object in
>> */usr/local/apache-2.2.0/htdocs/horde-3.0.9/lib/Horde/Notification.php*
>> on line *190
>
> This ought to have been fixed before RC2. Does your imp/lib/base.php
> file have this check?
>
> +// BC check.
> +if (@include_once 'Horde/Notification/Listener/audio.php') {
> +    $notification->attach('audio');
> +};

It turns out that we also need to check this when calling notify(),  
not only when attaching the listener. This has been fixed in CVS.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list