Re: Odd error: "Undefined index: EXISTS"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 12, 2010 at 4:52 AM, Ralf Hildebrandt
<Ralf.Hildebrandt@xxxxxxxxxx> wrote:
> * Paul Lesniewski <paul@xxxxxxxxxxxxxxxx>:
>> On Sat, Jun 12, 2010 at 3:11 AM, Ralf Hildebrandt
>> <Ralf.Hildebrandt@xxxxxxxxxx> wrote:
>> > With 1.4.20 I'm getting odd errors like:
>>
>> These are not for the same actions, right?
>
> No, they're sporadic AND happenening for different users at different
> times

Most of these errors seem to indicate that the IMAP server didn't
respond as it should have (or SquirrelMail failed to parse the
response correctly) to a SELECT command.  Perhaps the difference is
the mailbox/folder being SELECTED (maybe an empty folder?).  So
tracking it down may be hard, but let's see...

>> > [Sat Jun 12 12:07:31 2010] [error] [client 10.39.172.126] PHP Notice: Undefined index: UIDVALIDITY in
>> > /var/www-lighty/squirrelmail-1.4.20/src/download.php on line 56, referer:
>> > https://webmail.charite.de/squirrelmail/src/read_body.php?mailbox=INBOX&passed_id=17795&startMessage=1
>>
>> What IMAP server is this against?  You can spit out some debug stuff
>> by putting this on line 55 of that file (test by downloading an email
>> attachment):
>
> It's dovecot-1.2
>
>> sm_print_r($mbx_response, '===========', $messages);
>
> Did that now.
>
>> And/or sniff the IMAP connection when you download an attachment.
>>
>> > [Sat Jun 12 12:07:33 2010] [error] [client 10.39.172.126] PHP Notice: Undefined index: EXISTS in
>> > /var/www-lighty/squirrelmail-1.4.20/functions/mailbox_display.php on line 416, referer:
>> > https://webmail.charite.de/squirrelmail/src/download.php?startMessage=1&passed_id=17795&mailbox=INBOX&ent_id=3&passed_ent_id=0
>>
>> Actually, you sure about the version being 1.4.20?  Is that file
>> patched?
>
> I think the patches you supplied to me to fix the header display issue
> changed the line numbers.

Sorry, can you refresh my memory of what issue/patch that was?

Thanks.


> Here it goes:
> 413    /* If autoexpunge is turned on, then do it now. */
> 414    if ($auto_expunge == true) {
> 415       $exp_cnt = sqimap_mailbox_expunge($imapConnection, $mailbox, false, '');
> 416       $mbxresponse['EXISTS'] = $mbxresponse['EXISTS'] - $exp_cnt;
> 417       $num_msgs = $mbxresponse['EXISTS'];
> 418    }

OK

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux