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? > [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): sm_print_r($mbx_response, '===========', $messages); 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 am looking at 1.4.21SVN, and I think the line number should be 424 (off the top of my head, I don't recall that file being changed between the release of 1.4.20 and now). Maybe you should re-check that your code is up to date for starters. Anyway, if you want to debug this, you can spit out stuff in PHP by putting this anywhere just above the problematic line: sm_print_r($mbxresponse); Or again, sniff the IMAP connection to see how the IMAP server is responding... but the IMAP server looks fishy to me. > [Sat Jun 12 12:07:35 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/left_main.php > > [Sat Jun 12 00:38:49 2010] [error] [client 10.47.76.131] 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/left_main.php > > [Sat Jun 12 00:38:50 2010] [error] [client 10.47.76.131] 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/left_main.php > > [Sat Jun 12 01:13:18 2010] [error] [client 91.37.225.147] PHP Notice: Undefined index: HTTP_HOST in > /var/www-lighty/squirrelmail-1.4.20/plugins/vlogin/functions.php on line 419 Finally, this looks like an oddly-missing "HTTP_HOST" entry in the server/PHP environment. Are you using lighttpd? Is it configured non-standard, etc.? Can you dump the server environment: sm_print_r($_SERVER); The result should have "HTTP_HOST" in it... if not, well, hmmm.... -- 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