[horde] Error searching imp ALL folders, confirmed.

Andre Luiz Paiz andre.paiz at iqm.unicamp.br
Wed Jul 23 16:21:40 UTC 2014


  Quoting horde-request at lists.horde.org:

> ------------------------------
>
> Message: 3
> Date: Wed, 23 Jul 2014 08:20:07 -0500
> From: Andy Dorman <adorman at ironicdesign.com>
> To: horde at lists.horde.org
> Subject: Re: [horde] Error searching imp ALL folders, confirmed.
> Message-ID: <53CFB687.1080005 at ironicdesign.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 07/23/2014 07:43 AM, Andre Luiz Paiz wrote:
>> Quoting horde-request at lists.horde.org:
>>
>>> Message: 3
>>> Date: Tue, 22 Jul 2014 12:28:55 -0500
>>> From: Andy Dorman <adorman at ironicdesign.com>
>>> To: horde at lists.horde.org
>>> Subject: Re: [horde] Error searching imp folders
>>> Message-ID: <53CE9F57.4010302 at ironicdesign.com>
>>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>>
>>> On 07/22/2014 11:30 AM, Andre Luiz Paiz wrote:
>>>> Dear Horde Team,
>>>> After upgrading to version 5.2, users are experiencing problems
>>>> performing
>>>> searchs inside imp mailboxes.
>>>> The error in the log file displays the following:
>>>>
>>>> WARN: HORDE [imp] [search] Could not open mailbox "impsearchvinbox".
>>
>> [pid
>>>> 32115 on line 732 of "/var/www/html/horde/imp/lib/Imap.php"]
>>>>
>>>> or
>>>>
>>>> WARN: HORDE [imp] [search] Could not open mailbox "impsearch".
>>>>
>>>> My CentOS server has the php-5.5.14-2.el6.remi.x86_64 package
installed
>>>> and
>>>> this error started after 5.2 upgrade from 5.1.4.
>>>>
>>>> I appreciate if you can help me.
>>>>
>>>> Thanks
>>>>   Atenciosamente
>>>>
>>>> /Andr? Luiz Paiz/
>>>> /Analista de Redes/
>>>> /Instituto de Qu?mica ? Unicamp/
>>>> /andre.paiz at iqm.unicamp.br/
>>>> /Telefone: (19)3521-0197/
>>>
>>> We just updated our dev server to Horde 5.2/imp 6.2 running with PHP
>>> 5.6.0 rc2 (debian testing/unstable) and everything, including search,
is
>>> working great for us.
>>>
>>> Have you checked your IMAP server logs to see if the authentication is
>>> failing there?
>>>
>>> --
>>> Andy Dorman
>>> Ironic Design, Inc.
>>> AnteSpam.com, ComeHome.net
>>>
>>> CONFIDENTIALITY NOTICE: This message is for the named person's use
only.
>>> It may contain confidential, proprietary or legally privileged
>>> information. No confidentiality or privilege is waived or lost by any
>>> erroneous transmission. If you receive this message in error, please
>>> immediately destroy it and notify the sender. You must not, directly or
>>> indirectly, use, disclose, distribute, or copy any part of this message
>>> if you are not the intended recipient.
>>
>> Dear Andy,
>>
>> Thanks for answering.
>> The error shows up on the screen when a ADVANCED search for ALL
>> FOLDERS is performed. Single folder search is working fine. Debug shows
>> nothing...
>> It is possible for you to test that? I appreciate your help.
>> No error log about imp authentication. Single folder search works fine.
>>
>> Thanks
>> Andre
>>   Atenciosamente
>>
>> /Andr? Luiz Paiz/
>> /Analista de Redes/
>> /Instituto de Qu?mica ? Unicamp/
>> /andre.paiz at iqm.unicamp.br/
>> /Telefone: (19)3521-0197/
>
> Thanks for the added info.  I think you have found a bug.
>
> I tried a search across all folders (Imp 6.2/Horde 5.2/PHP 5.6 RC2) and
> it failed.  The on screen error message was "IMP is marked as
> authenticated, but no credentials can be found in the session."
>
> Based on that message I took a look at my session configs for horde and
> imp and the only config files that mention session have this:
>
> horde/conf.php
> -----------------
> $conf['session']['name'] = 'Horde';
> $conf['session']['use_only_cookies'] = true;
> $conf['session']['timeout'] = 0;
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['max_time'] = 72000;
> $conf['sessionhandler']['type'] = 'Builtin';
> $conf['sessionhandler']['hashtable'] = true;
>
> imp/prefs.php
> ----------------
> // User's HTML signature - UI widget
> $_prefs['signature_html_select'] = array(
>     'type' => 'special',
>     'handler' => 'IMP_Prefs_Special_HtmlSignature',
>     'requires_nolock' => array('signature_html'),
>     'suppress' => function() {
>         return !$GLOBALS['session']->get('imp', 'rteavail');
>     }
> );
>
> I switched the logging to DEBUG and retried the unsuccessful ALL folder
> search and got the output below.  Then I tried a successful single
> folder search and the debug log lines (also below) look the same...so I
> do not believe the log is going to be helpful in figuring this one out.
>
> DEBUG log from Unsuccessful ALL folder search
> ===============================
> 2014-07-23T07:48:39.419294-05:00 yorick HORDE: Load config file
> (conf.php; app: horde) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.447905-05:00 yorick HORDE: [imp] Load config file
> (conf.php; app: imp) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.466287-05:00 yorick HORDE: [imp] Load config file
> (hooks.php; app: imp) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.471251-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::removeUser() should be compatible with
> Horde_Auth_Ldap::removeUser($userId, $dn = NULL) [pid 23947 on line 17
> of "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:48:39.471352-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::updateUser() should be compatible with
> Horde_Auth_Ldap::updateUser($oldID, $newID, $credentials, $olddn = NULL,
> $newdn = NULL) [pid 23947 on line 17 of
> "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:48:39.506041-05:00 yorick HORDE: [imp] Max memory usage:
> 8650752 bytes [pid 23947 on line 618 of
> "/usr/share/php/Horde/Registry.php"]
> 2014-07-23T07:48:39.657098-05:00 yorick HORDE: Load config file
> (conf.php; app: horde) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.686927-05:00 yorick HORDE: [imp] Load config file
> (conf.php; app: imp) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.705553-05:00 yorick HORDE: [imp] Load config file
> (hooks.php; app: imp) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:48:39.710573-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::removeUser() should be compatible with
> Horde_Auth_Ldap::removeUser($userId, $dn = NULL) [pid 13497 on line 17
> of "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:48:39.710672-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::updateUser() should be compatible with
> Horde_Auth_Ldap::updateUser($oldID, $newID, $credentials, $olddn = NULL,
> $newdn = NULL) [pid 13497 on line 17 of
> "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:48:40.120466-05:00 yorick HORDE: [imp] SQL  (0.0039s)
> #012#011SELECT alarm_id, alarm_uid, alarm_start, alarm_end,
> alarm_methods,#012#011  alarm_params, alarm_title, alarm_text,
> alarm_snooze, alarm_internal#012#011  FROM horde_alarms WHERE
> alarm_dismissed = 0 AND ((alarm_snooze IS NULL#012#011  AND alarm_start
> <= '2014-07-23 12:48:40') OR alarm_snooze <=#012#011  '2014-07-23
> 12:48:40') AND (alarm_end IS NULL OR alarm_end >=#012#011  '2014-07-23
> 12:48:40') AND (alarm_uid IS NULL OR alarm_uid = '' OR#012#011
> alarm_uid = 'andydorman at comehome.net') ORDER BY alarm_start, alarm_end
> [pid 13497 on line 208 of "/usr/share/php/Horde/Db/Adapter/Pdo/Base.php"]
> 2014-07-23T07:48:40.121773-05:00 yorick HORDE: [imp] Max memory usage:
> 13631488 bytes [pid 13497 on line 618 of
> "/usr/share/php/Horde/Registry.php"]
>
> DEBUG log from successful single folder search
> ===============================
> 2014-07-23T07:53:34.685872-05:00 yorick HORDE: Load config file
> (conf.php; app: horde) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.714295-05:00 yorick HORDE: [imp] Load config file
> (conf.php; app: imp) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.733271-05:00 yorick HORDE: [imp] Load config file
> (hooks.php; app: imp) [pid 13497 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.738439-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::removeUser() should be compatible with
> Horde_Auth_Ldap::removeUser($userId, $dn = NULL) [pid 13497 on line 17
> of "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:53:34.738678-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::updateUser() should be compatible with
> Horde_Auth_Ldap::updateUser($oldID, $newID, $credentials, $olddn = NULL,
> $newdn = NULL) [pid 13497 on line 17 of
> "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:53:34.772807-05:00 yorick HORDE: [imp] Max memory usage:
> 8388608 bytes [pid 13497 on line 618 of
> "/usr/share/php/Horde/Registry.php"]
> 2014-07-23T07:53:34.939518-05:00 yorick HORDE: Load config file
> (conf.php; app: horde) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.969168-05:00 yorick HORDE: [imp] Load config file
> (conf.php; app: imp) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.987770-05:00 yorick HORDE: [imp] Load config file
> (hooks.php; app: imp) [pid 23947 on line 109 of
> "/usr/share/php/Horde/Registry/Loadconfig.php"]
> 2014-07-23T07:53:34.992827-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::removeUser() should be compatible with
> Horde_Auth_Ldap::removeUser($userId, $dn = NULL) [pid 23947 on line 17
> of "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:53:34.992927-05:00 yorick HORDE: PHP ERROR: Declaration of
> Horde_Core_Auth_Ldap::updateUser() should be compatible with
> Horde_Auth_Ldap::updateUser($oldID, $newID, $credentials, $olddn = NULL,
> $newdn = NULL) [pid 23947 on line 17 of
> "/usr/share/php/Horde/Core/Auth/Ldap.php"]
> 2014-07-23T07:53:35.308142-05:00 yorick HORDE: [imp] SQL  (0.0039s)
> #012#011SELECT alarm_id, alarm_uid, alarm_start, alarm_end,
> alarm_methods,#012#011  alarm_params, alarm_title, alarm_text,
> alarm_snooze, alarm_internal#012#011  FROM horde_alarms WHERE
> alarm_dismissed = 0 AND ((alarm_snooze IS NULL#012#011  AND alarm_start
> <= '2014-07-23 12:53:35') OR alarm_snooze <=#012#011  '2014-07-23
> 12:53:35') AND (alarm_end IS NULL OR alarm_end >=#012#011  '2014-07-23
> 12:53:35') AND (alarm_uid IS NULL OR alarm_uid = '' OR#012#011
> alarm_uid = 'andydorman at comehome.net') ORDER BY alarm_start, alarm_end
> [pid 23947 on line 208 of "/usr/share/php/Horde/Db/Adapter/Pdo/Base.php"]
> 2014-07-23T07:53:35.309773-05:00 yorick HORDE: [imp] Max memory usage:
> 12582912 bytes [pid 23947 on line 618 of
> "/usr/share/php/Horde/Registry.php"]
>
> FWIW, I have already reported the two PHP errors you can see in the log
> and I believe this has been fixed in the master.  The patched version
> has just not been set up in Debian yet so I do not have it.
>
> I also found the trouble ticket [#13384] you opened about this and I
> have added my test results and debug log lines to the ticket.
>
> --
> Andy Dorman
>
>  

Dear Andy,
Thank you for helping discovering the issue, I have attached a image file
inside the trouble ticket to help simulate the problem.
My distro is CentOS 6.5. What is the next step to solve the problem? Will
this case will be forwarded to the developers? Sorry but I'm not sure how
to proceed now.

thanks again
Andre
  Atenciosamente
 
/André Luiz Paiz/
/Analista de Redes/
/Instituto de Química – Unicamp/
/andre.paiz at iqm.unicamp.br/
/Telefone: (19)3521-0197/


More information about the horde mailing list