[dev] IMP error when purging mailbox w/ caching
Michael Rubinsky
mike at theupstairsroom.com
Thu Apr 27 20:43:46 PDT 2006
Michael, I know this is still in progress, but just in case you
haven't seen this yet -
when using the mailbox cache and allowing mail previews (even if they
are not choosen to
be shown by the user), line 583 in lib/IMAP/MailboxCache.php:
$imp_contents = &IMP_Contents::singleton($uid . IMP_IDX_SEP . $mailbox);
returns the following pear_error after purging the mailbox...
pear_error Object ( [error_message_prefix] => [mode] => 1 [level] =>
1024 [code] =>
[message] => Error displaying message. [userinfo] => [backtrace] =>
Array ( [0] => Array
( [file] => /usr/local/lib/php/PEAR.php [line] => 560 [function] =>
pear_error [class] =>
pear_error [type] => -> [args] => Array ( [0] => Error displaying
message. [1] => [2] =>
1 [3] => 1024 [4] => ) ) [1] => Array ( [file] =>
/home/www/html/horde/imp/lib/MIME/Contents.php [line] => 134
[function] => raiseerror
[class] => pear [type] => :: [args] => Array ( [0] => Error displaying
message. ) ) [2]
=> Array ( [file] => /home/www/html/horde/imp/lib/MIME/Contents.php
[line] => 105
[function] => imp_contents [class] => imp_contents [type] => ->
[args] => Array ( [0] =>
21416INBOX ) ) [3] => Array ( [file] =>
/home/www/html/horde/imp/lib/IMAP/MailboxCache.php [line] => 583
[function] => singleton
[class] => imp_contents [type] => :: [args] => Array ( [0] =>
21416INBOX ) ) [4] =>
Array ( [file] => /home/www/html/horde/imp/lib/IMAP/MailboxCache.php
[line] => 282
[function] => _generatepreview [class] => imp_mailboxcache [type] =>
-> [args] => Array
( [0] => INBOX [1] => 21416 ) ) [5] => Array ( [file] =>
/home/www/html/horde/imp/lib/Mailbox.php [line] => 226 [function] =>
retrieve [class] =>
imp_mailboxcache [type] => -> [args] => Array ( [0] => INBOX [1] =>
Array ( [0] => 20287
[1] => 20580 [2] => 21159 [3] => 21416 [4] => 21431 [5] => 21579 [6]
=> 21609 [7] =>
21614 [8] => 21742 [9] => 21826 [10] => 21844 ) [2] => 207 ) ) [6] =>
Array ( [file] =>
/home/www/html/horde/imp/mailbox.php [line] => 250 [function] =>
buildmailboxarray
[class] => imp_mailbox [type] => -> [args] => Array ( [0] => 1 [1] =>
11 ) ) )
[callback] => )
--
Thanks,
Mike
--
Thanks,
Mike
More information about the dev
mailing list