[horde] Some error messages after upgrading Horde
Jan Schneider
jan at horde.org
Wed Jun 29 11:40:20 UTC 2011
Zitat von Cristian Livadaru <cristian at livadaru.net>:
> On 27 Jun, 2011, at 15:19 , Jan Schneider wrote:
>
>>
>> Zitat von Cristian Livadaru <cristian at livadaru.net>:
>>
>>> Hi,
>>> I updated to horde4 2 days ago and now I am receiving a couple of
>>> errors I don't quite understand.
>>>
>>> Jun 27 09:13:38 lcx HORDE: HORDE [ingo] PHP ERROR: Undefined
>>> index: char [pid 16136 on line 127 of
>>> "/var/www/html/webmail/ingo/lib/Script.php"]
>>>
>>> according to the source the line causing this error is:
>>> if (!isset($params['spam_char'])) {
>>> $params['spam_char'] = $GLOBALS['conf']['spam']['char'];
>>> }
>>>
>>> I have checked the spam char in the info config and also changed
>>> it to "numeric" but I still get this error.
>>>
>>> All I found searching the mailing list were some kind of similar
>>> errors and hints that the config should be generated which I also
>>> did.
>>
>> So all apps in the configuration interface are green?
>
> yes, all green (attachment removed, to large)
>
>>
>> Paste your ingo/config/conf.php
>
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Id: d7d6b8aa83378ab931f7e4d471cd7e82da4f1ad4 $
> $conf['storage']['params']['driverconfig'] = 'horde';
> $conf['storage']['driver'] = 'sql';
> $conf['storage']['maxblacklist'] = 0;
> $conf['storage']['maxwhitelist'] = 0;
> $conf['rules']['userheader'] = false;
> $conf['spam']['header'] = 'X-Spam-Level';
> $conf['spam']['compare'] = 'numeric';
> $conf['menu']['apps'] = array();
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
Ah, so this is because you use numeric comparison. Could be a bug
then, create a ticket.
>>> The second one I have is:
>>>
>>>
>>> Jun 27 09:15:07 lcx HORDE: HORDE [turba] PHP ERROR: Undefined
>>> offset: 1 [pid 15707 on line 315 of "/usr/share/php/Net/DNS2.php"]
>>> Didn't really read the code here.
>>
>> This isn't Horde code. Try upgrading Net_DNS2 from PEAR, if that
>> doesn't fix it, file a bug there.
>
>
> any ideas which version works? Just tried an update of Net_DNS2 but
> it seems I have the newest version .... at least that is what PEAR
> is telling me.
Like I said, this isn't Horde code, so this is the wrong place to ask.
> pear install Net_DNS2
> pear/Net_DNS2 is already installed and is the same as the released
> version 1.1.2
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list