[Tickets #9644] Re: Every message displays as empty

bugs at horde.org bugs at horde.org
Fri Mar 11 10:01:35 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9644
------------------------------------------------------------------------------
  Ticket             | 9644
  Updated By         | bergonz at labs.it
  Summary            | Every message displays as empty
  Queue              | IMP
  Version            | 5.0-ALPHA1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


bergonz at labs.it (2011-03-11 10:01) wrote:

I modified /usr/share/php/Horde/Imap/Client/Base.php at line 1960 with  
some print_r in this way:

  print_r($this);
              $ret = $this->_fetch($query, $ret, $options);
  print_r($ret);
  return $ret;

The result is as follows (password overwritten by me). The LOGIN  
FAILED is not confirmed by imapdebug, where login is OK and the part  
is retrieved.

Hope this helps somehow...

Horde_Imap_Client_Socket Object
(
     [_tag:protected] => 2
     [_stream:protected] => Resource id #131
     [cache] =>
     [cacheFields] => Array
         (
             [9] => HICenv
             [10] => HICflags
             [8] => HIChdrs
             [11] => HICdate
             [12] => HICsize
             [1] => HICstruct
         )

     [changed] => 1
     [_params:protected] => Array
         (
             [encryptKey] => Array
                 (
                     [0] => IMP_Imap
                     [1] => getEncryptKey
                 )

             [hostspec] => mason
             [log] => Array
                 (
                     [0] => IMP_Imap
                     [1] => logError
                 )

             [port] => 143
             [secure] =>
             [timeout] => 30
             [debug_literal] => 1
             [debug] => /tmp/imapdebug.txt
             [password] => <I OVERWROTE SOME BINARY GARBAGE>
             [statuscache] => 1
             [username] => bergonz
             [cache] => Array
                 (
                     [fields] => Array
                         (
                         )

                 )

             [_passencrypt] => 1
         )

     [_isAuthenticated:protected] => 1
     [_isSecure:protected] =>
     [_selected:protected] => INBOX
     [_mode:protected] => 1
     [_init:protected] => Array
         (
             [enabled] => Array
                 (
                 )

             [namespace] => Array
                 (
                     [40cd750bba9870f18aada2478b24840a] => Array
                         (
                             [INBOX.] => Array
                                 (
                                     [name] => INBOX.
                                     [delimiter] => .
                                     [type] => 1
                                     [hidden] =>
                                 )

                             [shared.] => Array
                                 (
                                     [name] => shared.
                                     [delimiter] => .
                                     [type] => 3
                                     [hidden] =>
                                 )

                         )

                 )

             [s_charset] => Array
                 (
                 )

             [capability] => Array
                 (
                     [IMAP4REV1] => 1
                     [LITERAL+] => 1
                     [SASL-IR] => 1
                     [LOGIN-REFERRALS] => 1
                     [ID] => 1
                     [ENABLE] => 1
                     [IDLE] => 1
                     [STARTTLS] => 1
                     [AUTH] => Array
                         (
                             [0] => PLAIN
                         )

                     [SORT] => Array
                         (
                             [0] => DISPLAY
                         )

                     [THREAD] => Array
                         (
                             [0] => REFERENCES
                             [1] => REFS
                         )

                     [MULTIAPPEND] => 1
                     [UNSELECT] => 1
                     [CHILDREN] => 1
                     [NAMESPACE] => 1
                     [UIDPLUS] => 1
                     [LIST-EXTENDED] => 1
                     [I18NLEVEL] => Array
                         (
                             [0] => 1
                         )

                     [CONDSTORE] => 1
                     [QRESYNC] => 1
                     [ESEARCH] => 1
                     [ESORT] => 1
                     [SEARCHRES] => 1
                     [WITHIN] => 1
                     [CONTEXT] => Array
                         (
                             [0] => SEARCH
                         )

                     [LIST-STATUS] => 1
                 )

             [imapproxy] =>
             [authmethod] => PLAIN
         )

     [_debug:protected] => Resource id #125
     [_temp:protected] => Array
         (
             [no_cap] => 1
             [preauth] =>
             [parsestatuserr] =>
             [token] =>
             [loginerr] => LOGIN_AUTHENTICATIONFAILED
             [referral] =>
             [fetchresp] => Array
                 (
                     [seq] => Array
                         (
                         )

                     [uid] => Array
                         (
                         )

                 )

             [mailbox] => Array
                 (
                     [name] => INBOX
                     [flags] => Array
                         (
                             [0] => \answered
                             [1] => \flagged
                             [2] => \deleted
                             [3] => \seen
                             [4] => \draft
                             [5] => unknown-2
                             [6] => unknown-3
                             [7] => $mdnsent
                             [8] => $forwarded
                             [9] => junk
                             [10] => nonjunk
                             [11] => $label1
                             [12] => $has_cal
                         )

                     [permflags] => Array
                         (
                         )

                     [messages] => 871
                     [recent] => 0
                     [firstunseen] => 2
                     [uidvalidity] => 1221554981
                     [uidnext] => 368584
                     [highestmodseq] => 50140
                 )

             [literal8] => Array
                 (
                 )

         )

     [_utils:protected] => Horde_Imap_Client_Utils Object
         (
         )

)
Array
(
     [368578] => Horde_Imap_Client_Data_Fetch Object
         (
             [_data:protected] => Array
                 (
                     [14] => 866
                     [13] => 368578
                     [1] => Horde_Mime_Part Object
                         (
                             [_type:protected] => multipart
                             [_subtype:protected] => related
                             [_contents:protected] =>
                             [_transferEncoding:protected] => binary
                             [_language:protected] => Array
                                 (
                                     [0] => NIL
                                 )

                             [_description:protected] =>
                             [_disposition:protected] =>
                             [_dispParams:protected] => Array
                                 (
                                 )

                             [_contentTypeParams:protected] => Array
                                 (
                                     [boundary] => 20cf3054aa51dd7ecf049e31cd51
                                 )

                             [_parts:protected] => Array
                                 (
                                     [0] => Horde_Mime_Part Object
                                         (
                                             [_type:protected] => multipart
                                             [_subtype:protected] =>  
alternative
                                             [_contents:protected] =>
                                              
[_transferEncoding:protected] => binary
                                             [_language:protected] => Array
                                                 (
                                                     [0] => NIL
                                                 )

                                             [_description:protected] =>
                                             [_disposition:protected] =>
                                             [_dispParams:protected] => Array
                                                 (
                                                 )

                                              
[_contentTypeParams:protected] => Array
                                                 (
                                                     [boundary] =>  
20cf3054aa51dd7ec9049e31cd50
                                                 )

                                             [_parts:protected] => Array
                                                 (
                                                     [0] =>  
Horde_Mime_Part Object
                                                         (
                                                              
[_type:protected] => text
                                                              
[_subtype:protected] => plain
                                                              
[_contents:protected] =>
                                                              
[_transferEncoding:protected] => 7bit
                                                              
[_language:protected] => Array
                                                                 (
                                                                     [0] => NIL
                                                                 )

                                                              
[_description:protected] =>
                                                              
[_disposition:protected] =>
                                                              
[_dispParams:protected] => Array
                                                                 (
                                                                      
[size] => 896
                                                                 )

                                                              
[_contentTypeParams:protected] => Array
                                                                 (
                                                                      
[charset] => ISO-8859-1
                                                                 )

                                                              
[_parts:protected] => Array
                                                                 (
                                                                 )

                                                              
[_mimeid:protected] => 1.1
                                                              
[_eol:protected] =>

                                                              
[_temp:protected] => Array
                                                                 (
                                                                 )

                                                              
[_metadata:protected] => Array
                                                                 (
                                                                 )

                                                              
[_boundary:protected] =>
                                                              
[_bytes:protected] => 896
                                                              
[_contentid:protected] =>
                                                              
[_reindex:protected] =>
                                                              
[_basepart:protected] =>
                                                              
[_hdrCharset:protected] =>
                                                         )

                                                     [1] =>  
Horde_Mime_Part Object
                                                         (
                                                              
[_type:protected] => text
                                                              
[_subtype:protected] => html
                                                              
[_contents:protected] =>
                                                              
[_transferEncoding:protected] => quoted-printable
                                                              
[_language:protected] => Array
                                                                 (
                                                                     [0] => NIL
                                                                 )

                                                              
[_description:protected] =>
                                                              
[_disposition:protected] =>
                                                              
[_dispParams:protected] => Array
                                                                 (
                                                                      
[size] => 2473
                                                                 )

                                                              
[_contentTypeParams:protected] => Array
                                                                 (
                                                                      
[charset] => ISO-8859-1
                                                                 )

                                                              
[_parts:protected] => Array
                                                                 (
                                                                 )

                                                              
[_mimeid:protected] => 1.2
                                                              
[_eol:protected] =>

                                                              
[_temp:protected] => Array
                                                                 (
                                                                 )

                                                              
[_metadata:protected] => Array
                                                                 (
                                                                 )

                                                              
[_boundary:protected] =>
                                                              
[_bytes:protected] => 2473
                                                              
[_contentid:protected] =>
                                                              
[_reindex:protected] =>
                                                              
[_basepart:protected] =>
                                                              
[_hdrCharset:protected] =>
                                                         )

                                                 )

                                             [_mimeid:protected] => 1
                                             [_eol:protected] =>

                                             [_temp:protected] => Array
                                                 (
                                                 )

                                             [_metadata:protected] => Array
                                                 (
                                                 )

                                             [_boundary:protected] =>  
=_R9V7JcLbMLtNefFEYb9QWIA
                                             [_bytes:protected] =>
                                             [_contentid:protected] =>
                                             [_reindex:protected] =>
                                             [_basepart:protected] =>
                                             [_hdrCharset:protected] =>
                                         )

                                     [1] => Horde_Mime_Part Object
                                         (
                                             [_type:protected] => image
                                             [_subtype:protected] => gif
                                             [_contents:protected] =>
                                              
[_transferEncoding:protected] => base64
                                             [_language:protected] => Array
                                                 (
                                                     [0] => NIL
                                                 )

                                             [_description:protected] =>
                                             [_disposition:protected] =>
                                             [_dispParams:protected] => Array
                                                 (
                                                     [size] => 7848
                                                 )

                                              
[_contentTypeParams:protected] => Array
                                                 (
                                                     [name] => image001.gif
                                                 )

                                             [_parts:protected] => Array
                                                 (
                                                 )

                                             [_mimeid:protected] => 2
                                             [_eol:protected] =>

                                             [_temp:protected] => Array
                                                 (
                                                 )

                                             [_metadata:protected] => Array
                                                 (
                                                 )

                                             [_boundary:protected] =>
                                             [_bytes:protected] => 7848
                                             [_contentid:protected] =>  
<image001.gif at 01CBDFD8.21142750>
                                             [_reindex:protected] =>
                                             [_basepart:protected] =>
                                             [_hdrCharset:protected] =>
                                         )

                                 )

                             [_mimeid:protected] => 0
                             [_eol:protected] =>

                             [_temp:protected] => Array
                                 (
                                 )

                             [_metadata:protected] => Array
                                 (
                                 )

                             [_boundary:protected] => =_1AlZd8LbMLtNefFEYqrgWIA
                             [_bytes:protected] =>
                             [_contentid:protected] =>
                             [_reindex:protected] =>
                             [_basepart:protected] =>
                             [_hdrCharset:protected] =>
                         )

                 )

         )

)
Horde_Imap_Client_Socket Object
(
     [_tag:protected] => 3
     [_stream:protected] => Resource id #131
     [cache] =>
     [cacheFields] => Array
         (
             [9] => HICenv
             [10] => HICflags
             [8] => HIChdrs
             [11] => HICdate
             [12] => HICsize
             [1] => HICstruct
         )

     [changed] => 1
     [_params:protected] => Array
         (
             [encryptKey] => Array
                 (
                     [0] => IMP_Imap
                     [1] => getEncryptKey
                 )

             [hostspec] => mason
             [log] => Array
                 (
                     [0] => IMP_Imap
                     [1] => logError
                 )

             [port] => 143
             [secure] =>
             [timeout] => 30
             [debug_literal] => 1
             [debug] => /tmp/imapdebug.txt
             [password] => <I OVERWROTE THE SAME BINARY GARBAGE>
             [statuscache] => 1
             [username] => bergonz
             [cache] => Array
                 (
                     [fields] => Array
                         (
                         )

                 )

             [_passencrypt] => 1
         )

     [_isAuthenticated:protected] => 1
     [_isSecure:protected] =>
     [_selected:protected] => INBOX
     [_mode:protected] => 1
     [_init:protected] => Array
         (
             [enabled] => Array
                 (
                 )

             [namespace] => Array
                 (
                     [40cd750bba9870f18aada2478b24840a] => Array
                         (
                             [INBOX.] => Array
                                 (
                                     [name] => INBOX.
                                     [delimiter] => .
                                     [type] => 1
                                     [hidden] =>
                                 )

                             [shared.] => Array
                                 (
                                     [name] => shared.
                                     [delimiter] => .
                                     [type] => 3
                                     [hidden] =>
                                 )

                         )

                 )

             [s_charset] => Array
                 (
                 )

             [capability] => Array
                 (
                     [IMAP4REV1] => 1
                     [LITERAL+] => 1
                     [SASL-IR] => 1
                     [LOGIN-REFERRALS] => 1
                     [ID] => 1
                     [ENABLE] => 1
                     [IDLE] => 1
                     [STARTTLS] => 1
                     [AUTH] => Array
                         (
                             [0] => PLAIN
                         )

                     [SORT] => Array
                         (
                             [0] => DISPLAY
                         )

                     [THREAD] => Array
                         (
                             [0] => REFERENCES
                             [1] => REFS
                         )

                     [MULTIAPPEND] => 1
                     [UNSELECT] => 1
                     [CHILDREN] => 1
                     [NAMESPACE] => 1
                     [UIDPLUS] => 1
                     [LIST-EXTENDED] => 1
                     [I18NLEVEL] => Array
                         (
                             [0] => 1
                         )

                     [CONDSTORE] => 1
                     [QRESYNC] => 1
                     [ESEARCH] => 1
                     [ESORT] => 1
                     [SEARCHRES] => 1
                     [WITHIN] => 1
                     [CONTEXT] => Array
                         (
                             [0] => SEARCH
                         )

                     [LIST-STATUS] => 1
                 )

             [imapproxy] =>
             [authmethod] => PLAIN
         )

     [_debug:protected] => Resource id #125
     [_temp:protected] => Array
         (
             [no_cap] => 1
             [preauth] =>
             [parsestatuserr] =>
             [token] =>
             [loginerr] => LOGIN_AUTHENTICATIONFAILED
             [referral] =>
             [mailbox] => Array
                 (
                     [name] => INBOX
                     [flags] => Array
                         (
                             [0] => \answered
                             [1] => \flagged
                             [2] => \deleted
                             [3] => \seen
                             [4] => \draft
                             [5] => unknown-2
                             [6] => unknown-3
                             [7] => $mdnsent
                             [8] => $forwarded
                             [9] => junk
                             [10] => nonjunk
                             [11] => $label1
                             [12] => $has_cal
                         )

                     [permflags] => Array
                         (
                         )

                     [messages] => 871
                     [recent] => 0
                     [firstunseen] => 2
                     [uidvalidity] => 1221554981
                     [uidnext] => 368584
                     [highestmodseq] => 50140
                 )

             [literal8] => Array
                 (
                 )

         )

     [_utils:protected] => Horde_Imap_Client_Utils Object
         (
         )

)
Array
(
     [368578] => Horde_Imap_Client_Data_Fetch Object
         (
             [_data:protected] => Array
                 (
                     [14] => 866
                     [13] => 368578
                     [6] => Array
                         (
                             [1] => Array
                                 (
                                     [d] =>
                                     [t] => Resource id #153
                                 )

                         )

                 )

         )

)
Horde_Imap_Client_Socket Object
(
     [_tag:protected] => 4
     [_stream:protected] => Resource id #131
     [cache] =>
     [cacheFields] => Array
         (
             [9] => HICenv
             [10] => HICflags
             [8] => HIChdrs
             [11] => HICdate
             [12] => HICsize
             [1] => HICstruct
         )

     [changed] => 1
     [_params:protected] => Array
         (
             [encryptKey] => Array
                 (
                     [0] => IMP_Imap
                     [1] => getEncryptKey
                 )

             [hostspec] => mason
             [log] => Array
                 (
                     [0] => IMP_Imap
                     [1] => logError
                 )

             [port] => 143
             [secure] =>
             [timeout] => 30
             [debug_literal] => 1
             [debug] => /tmp/imapdebug.txt
             [password] => <DITTO>
             [statuscache] => 1
             [username] => bergonz
             [cache] => Array
                 (
                     [fields] => Array
                         (
                         )

                 )

             [_passencrypt] => 1
         )

     [_isAuthenticated:protected] => 1
     [_isSecure:protected] =>
     [_selected:protected] => INBOX
     [_mode:protected] => 1
     [_init:protected] => Array
         (
             [enabled] => Array
                 (
                 )

             [namespace] => Array
                 (
                     [40cd750bba9870f18aada2478b24840a] => Array
                         (
                             [INBOX.] => Array
                                 (
                                     [name] => INBOX.
                                     [delimiter] => .
                                     [type] => 1
                                     [hidden] =>
                                 )

                             [shared.] => Array
                                 (
                                     [name] => shared.
                                     [delimiter] => .
                                     [type] => 3
                                     [hidden] =>
                                 )

                         )

                 )

             [s_charset] => Array
                 (
                 )

             [capability] => Array
                 (
                     [IMAP4REV1] => 1
                     [LITERAL+] => 1
                     [SASL-IR] => 1
                     [LOGIN-REFERRALS] => 1
                     [ID] => 1
                     [ENABLE] => 1
                     [IDLE] => 1
                     [STARTTLS] => 1
                     [AUTH] => Array
                         (
                             [0] => PLAIN
                         )

                     [SORT] => Array
                         (
                             [0] => DISPLAY
                         )

                     [THREAD] => Array
                         (
                             [0] => REFERENCES
                             [1] => REFS
                         )

                     [MULTIAPPEND] => 1
                     [UNSELECT] => 1
                     [CHILDREN] => 1
                     [NAMESPACE] => 1
                     [UIDPLUS] => 1
                     [LIST-EXTENDED] => 1
                     [I18NLEVEL] => Array
                         (
                             [0] => 1
                         )

                     [CONDSTORE] => 1
                     [QRESYNC] => 1
                     [ESEARCH] => 1
                     [ESORT] => 1
                     [SEARCHRES] => 1
                     [WITHIN] => 1
                     [CONTEXT] => Array
                         (
                             [0] => SEARCH
                         )

                     [LIST-STATUS] => 1
                 )

             [imapproxy] =>
             [authmethod] => PLAIN
         )

     [_debug:protected] => Resource id #125
     [_temp:protected] => Array
         (
             [no_cap] => 1
             [preauth] =>
             [parsestatuserr] =>
             [token] =>
             [loginerr] => LOGIN_AUTHENTICATIONFAILED
             [referral] =>
             [mailbox] => Array
                 (
                     [name] => INBOX
                     [flags] => Array
                         (
                             [0] => \answered
                             [1] => \flagged
                             [2] => \deleted
                             [3] => \seen
                             [4] => \draft
                             [5] => unknown-2
                             [6] => unknown-3
                             [7] => $mdnsent
                             [8] => $forwarded
                             [9] => junk
                             [10] => nonjunk
                             [11] => $label1
                             [12] => $has_cal
                         )

                     [permflags] => Array
                         (
                         )

                     [messages] => 871
                     [recent] => 0
                     [firstunseen] => 2
                     [uidvalidity] => 1221554981
                     [uidnext] => 368584
                     [highestmodseq] => 50140
                 )

             [literal8] => Array
                 (
                 )

         )

     [_utils:protected] => Horde_Imap_Client_Utils Object
         (
         )

)
Array
(
     [368578] => Horde_Imap_Client_Data_Fetch Object
         (
             [_data:protected] => Array
                 (
                     [14] => 866
                     [13] => 368578
                     [6] => Array
                         (
                             [1.2] => Array
                                 (
                                     [d] =>
                                     [t] => Resource id #157
                                 )

                         )

                 )

         )

)







More information about the bugs mailing list