[dev] IMP_Mailbox issues (Was: Imap client and TLS)
Michael Rubinsky
mrubinsk at horde.org
Wed Feb 23 18:46:22 UTC 2011
Quoting Michael Rubinsky <mrubinsk at horde.org>:
> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>>
>>> Now I'm getting problems viewing messages in the non-dynamic mode.
>>> Attempting to view any message gives a message not found error.
>>> This may very well be an older issue unrelated to this. I logged
>>> into traditional mode unintentionally after I cleared cookies:
>>
>> [snip]
>>
>>> (1298484424.7949) C: 5 EXAMINE ""
>>> (1298484424.8330) S: 5 NO Empty mailbox name.
>>
>> Almost 100% sure this has to do with the new IMP_Mailbox code -
>> somewhere, the mailbox name is resolving to empty.
>
> With your last commit, this part of the issue is resolved. i.e.
> Traditional mode can now show my messages. Expunge still throws the
> same error in dynamic mode though.
...though now I also can't expunge in traditional mode either. Maybe a
related object as string issue?
Now:
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: Undefined
property: IMP_Mailbox_List_Track::$_searchmbox [pid 7516 on line 101
of "/usr/local/horde/horde/imp/lib/Mailbox/List/Track.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1.
IMP_Mailbox_List_Track->buildMailboxPage()
/usr/local/horde/horde/imp/mailbox.php:239
2. Horde::errorHandler()
/usr/local/horde/horde/imp/lib/Mailbox/List/Track.php:101
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: strcasecmp()
expects parameter 1 to be string, resource given [pid 7516 on line
2796 of
"/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1.
IMP_Mailbox_List->getMailboxArray()
/usr/local/horde/horde/imp/mailbox.php:246
2. IMP_Imap->fetch() /usr/local/horde/horde/imp/lib/Mailbox/List.php:170
3. IMP_Imap->__call()
4. call_user_func_array() /usr/local/horde/horde/imp/lib/Imap.php:351
5. Horde_Imap_Client_Base->fetch()
6. Horde_Imap_Client_Socket->_fetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Base.php:1953
7. Horde_Imap_Client_Socket->_sendLine()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2433
8. Horde_Imap_Client_Socket->_parseResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3485
9. Horde_Imap_Client_Socket->_parseServerResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3869
10. Horde_Imap_Client_Socket->_parseFetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3998
11. Horde_Imap_Client_Socket->_parseEnvelope()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2489
12. strcasecmp()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2796
13. Horde::errorHandler()
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: strlen()
expects parameter 1 to be string, resource given [pid 7516 on line 136
of
"/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Data/Envelope.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1.
IMP_Mailbox_List->getMailboxArray()
/usr/local/horde/horde/imp/mailbox.php:246
2. IMP_Imap->fetch() /usr/local/horde/horde/imp/lib/Mailbox/List.php:170
3. IMP_Imap->__call()
4. call_user_func_array() /usr/local/horde/horde/imp/lib/Imap.php:351
5. Horde_Imap_Client_Base->fetch()
6. Horde_Imap_Client_Socket->_fetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Base.php:1953
7. Horde_Imap_Client_Socket->_sendLine()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2433
8. Horde_Imap_Client_Socket->_parseResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3485
9. Horde_Imap_Client_Socket->_parseServerResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3869
10. Horde_Imap_Client_Socket->_parseFetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3998
11. Horde_Imap_Client_Socket->_parseEnvelope()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2489
12. Horde_Imap_Client_Data_Envelope->__set()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2797
13. strlen()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Data/Envelope.php:136
14. Horde::errorHandler()
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: strcasecmp()
expects parameter 1 to be string, resource given [pid 7516 on line
2796 of
"/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1.
IMP_Mailbox_List->getMailboxArray()
/usr/local/horde/horde/imp/mailbox.php:246
2. IMP_Imap->fetch() /usr/local/horde/horde/imp/lib/Mailbox/List.php:170
3. IMP_Imap->__call()
4. call_user_func_array() /usr/local/horde/horde/imp/lib/Imap.php:351
5. Horde_Imap_Client_Base->fetch()
6. Horde_Imap_Client_Socket->_fetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Base.php:1953
7. Horde_Imap_Client_Socket->_sendLine()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2433
8. Horde_Imap_Client_Socket->_parseResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3485
9. Horde_Imap_Client_Socket->_parseServerResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3869
10. Horde_Imap_Client_Socket->_parseFetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3998
11. Horde_Imap_Client_Socket->_parseEnvelope()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2489
12. strcasecmp()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2796
13. Horde::errorHandler()
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: strlen()
expects parameter 1 to be string, resource given [pid 7516 on line 136
of
"/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Data/Envelope.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1.
IMP_Mailbox_List->getMailboxArray()
/usr/local/horde/horde/imp/mailbox.php:246
2. IMP_Imap->fetch() /usr/local/horde/horde/imp/lib/Mailbox/List.php:170
3. IMP_Imap->__call()
4. call_user_func_array() /usr/local/horde/horde/imp/lib/Imap.php:351
5. Horde_Imap_Client_Base->fetch()
6. Horde_Imap_Client_Socket->_fetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Base.php:1953
7. Horde_Imap_Client_Socket->_sendLine()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2433
8. Horde_Imap_Client_Socket->_parseResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3485
9. Horde_Imap_Client_Socket->_parseServerResponse()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3869
10. Horde_Imap_Client_Socket->_parseFetch()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:3998
11. Horde_Imap_Client_Socket->_parseEnvelope()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2489
12. Horde_Imap_Client_Data_Envelope->__set()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:2797
13. strlen()
/usr/local/horde/horde/framework/Imap_Client/lib/Horde/Imap/Client/Data/Envelope.php:136
14. Horde::errorHandler()
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset
type in isset or empty [pid 7516 on line 451 of
"/usr/local/horde/horde/imp/lib/Search.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1. IMP_Search->isVinbox()
/usr/local/horde/horde/imp/mailbox.php:253
2. IMP_Search->isVFolder() /usr/local/horde/horde/imp/lib/Search.php:477
3. Horde::errorHandler() /usr/local/horde/horde/imp/lib/Search.php:451
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset
type in isset or empty [pid 7516 on line 451 of
"/usr/local/horde/horde/imp/lib/Search.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1. IMP_Search->isVTrash()
/usr/local/horde/horde/imp/mailbox.php:333
2. IMP_Search->isVFolder() /usr/local/horde/horde/imp/lib/Search.php:464
3. Horde::errorHandler() /usr/local/horde/horde/imp/lib/Search.php:451
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset
type in isset or empty [pid 7516 on line 451 of
"/usr/local/horde/horde/imp/lib/Search.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1. IMP_Search->isVFolder()
/usr/local/horde/horde/imp/mailbox.php:357
2. Horde::errorHandler() /usr/local/horde/horde/imp/lib/Search.php:451
2011-02-23T13:39:01-05:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset
type in isset or empty [pid 7516 on line 490 of
"/usr/local/horde/horde/imp/lib/Search.php"]
2011-02-23T13:39:01-05:00 DEBUG: 1. IMP_Search->isQuery()
/usr/local/horde/horde/imp/mailbox.php:361
2. Horde::errorHandler() /usr/local/horde/horde/imp/lib/Search.php:490
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the dev
mailing list