Ticket #1485762 (closed Bugs: fixed)

Opened 13 months ago

Last modified 9 months ago

quick search box does't work

Reported by: jolic Owned by:
Priority: 5 Milestone: 0.3-stable
Component: IMAP connection Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Hi,

I use the 0.2 stable with the default skin. Unfortunately the 'quick search box' in the mailbox doesn't work. Only the window "Search..." get up and after long time the result is: request time expired.

I have change ..\program\steps\mail\search.inc the follow line:

$result = $IMAP->search($mbox, $search_str, $imap_charset, $_SESSION['sort_col']);

to:

$result = $IMAP->search($mbox, $search_str); 

and now it works! However without German umlauts ;-(

Best regards, jolic

Change History

follow-up: ↓ 2   Changed 13 months ago by alec

  • component changed from Core functionality to IMAP connection
  • milestone changed from later to 0.2.1

What IMAP server?

in reply to: ↑ 1   Changed 13 months ago by jolic

Replying to alec:

What IMAP server?

imap.web.de

follow-up: ↓ 4   Changed 13 months ago by alec

I'm unable to create an account on that server, so please do some debug for me. Uncomment console() calls in lib/imap.inc and then check logs/console for a log. Of course do this with code without your change.

in reply to: ↑ 3   Changed 13 months ago by jolic

Replying to alec:

I'm unable to create an account on that server, so please do some debug for me. Uncomment console() calls in lib/imap.inc and then check logs/console for a log. Of course do this with code without your change.

Hi Alec, Thanks once more :-) Please take a look in my console created with imap.web.de and without my change. http://www.jolichter.de/console_quick-search_imap.web.de.txt (without passwords)

  Changed 13 months ago by alec

[05-Mar-2009 18:37:15 +0100]: C: srch1 SEARCH CHARSET UTF-8 OR HEADER SUBJECT {7}
[05-Mar-2009 18:37:15 +0100]: S: srch1 NO [BADCHARSET US-ASCII] Unknown character-set
[05-Mar-2009 18:37:15 +0100]: C: sonntag HEADER FROM {7}
[05-Mar-2009 18:37:15 +0100]: S: sonntag BAD Unrecognized command
[05-Mar-2009 18:37:15 +0100]: C: sonntag
[05-Mar-2009 18:37:15 +0100]: S: * BAD Invalid tag

OK, I see where's the problem. I'll work on it.

  Changed 13 months ago by jolic

Great! I'm looking forward for the solution. In advance many Thanks!

  Changed 13 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r2330.

  Changed 13 months ago by jolic

  • status changed from closed to reopened
  • resolution fixed deleted

It's a pitty, but the search result with imap.web.de is now nothing ;-(

  Changed 13 months ago by jolic

here is my console log (r2331):

[06-Mar-2009 21:08:36 +0100]: S: * OK WEB.DE IMAP4-Server
[06-Mar-2009 21:08:36 +0100]: C: cp01 CAPABILITY
[06-Mar-2009 21:08:36 +0100]: S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ UIDPLUS NAMESPACE UNSELECT X-NETSCAPE
[06-Mar-2009 21:08:36 +0100]: S: cp01 OK CAPABILITY Completed
[06-Mar-2009 21:08:36 +0100]: C: a001 LOGIN "xyz@web.de" "xyz123456"
[06-Mar-2009 21:08:36 +0100]: S: a001 OK LOGIN Completed: User logged in
[06-Mar-2009 21:08:36 +0100]: C: sel1 SELECT "INBOX"
[06-Mar-2009 21:08:36 +0100]: S: * 22 EXISTS
[06-Mar-2009 21:08:36 +0100]: S: * OK [UNSEEN 0]
[06-Mar-2009 21:08:36 +0100]: S: * OK [PERMANENTFLAGS (\Deleted \Seen \Answered)]
[06-Mar-2009 21:08:36 +0100]: S: * OK [UIDVALIDITY 1]
[06-Mar-2009 21:08:36 +0100]: S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
[06-Mar-2009 21:08:36 +0100]: S: sel1 OK [READ-WRITE] SELECT Completed
[06-Mar-2009 21:08:36 +0100]: C: srch1 SEARCH CHARSET UTF-8 OR HEADER SUBJECT {4}
[06-Mar-2009 21:08:36 +0100]: S: srch1 NO [BADCHARSET US-ASCII] Unknown character-set
[06-Mar-2009 21:08:36 +0100]: C: srch1 SEARCH CHARSET ISO-8859-1 OR HEADER SUBJECT {4}
[06-Mar-2009 21:08:36 +0100]: S: srch1 NO [BADCHARSET US-ASCII] Unknown character-set
[06-Mar-2009 21:08:36 +0100]: C: I LOGOUT

  Changed 13 months ago by alec

  • status changed from reopened to closed
  • resolution set to fixed

We must use US-ASCII as failover. Fixed in r2334.

  Changed 13 months ago by jolic

Yes, that's the solution! Many Thanks!

  Changed 9 months ago by ecenica

  • status changed from closed to reopened
  • version changed from 0.2-stable to svn-trunk
  • resolution fixed deleted

Hi. Testing RC with MailEnable? IMAP. Search fails with the following error in console.log

[10-Jun-2009 16:44:57 +0100]: S: srch1 NO SEARCH does not support CHARSET qualifier.

Changing '\program\steps\mail\search.inc'

$imap_charset = 'UTF-8'; 

to

$imap_charset = ''; 

Brings some functionality to the filter drop-down. Messages now display based on flag status but the search box still returns an error.

Any ideas?

  Changed 9 months ago by alec

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from 0.2.1 to 0.3-stable

Fixed in r2632.

Note: See TracTickets for help on using tickets.