[horde] Hermes running_timers and Prefs::setValue

Fanis Hatzidakis horde at hatzidakis.org
Mon Feb 2 11:11:12 UTC 2009


Ack, I hadn't renamed prefs.php.dist tp prefs.php during installation
and since nothing complained I forgot to do so afterwards. Sorry about
that.

Cheers,
Fanis


On Mon, Feb 2, 2009 at 12:52, Jan Schneider <jan at horde.org> wrote:
> Zitat von Fanis Hatzidakis <horde at hatzidakis.org>:
>
>> Hello,
>>
>> Starting a Hermes watch doesn't work in a fresh installation because
>> the running_timers preference is never set.
>>
>>>> From Prefs::setValue:
>>
>> /* Exit early if this preference is locked or doesn't exist. */
>> if (!isset($this->_prefs[$pref]) || $this->isLocked($pref)) {
>>   return false;
>> }
>>
>> If the running_timers pref doesn't exist (it doesn't in a fresh
>> installation), you can never start up a watch. Is this a bug in Hermes
>> or Prefs?
>
> Of course it exists:
> http://cvs.horde.org/co.php/hermes/config/prefs.php.dist
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list