Roundcube Community Forum

Release Support => Release Discussion => Topic started by: Lukas on April 28, 2010, 04:49:32 AM

Title: QuickSearch not working?
Post by: Lukas on April 28, 2010, 04:49:32 AM
Hi everybody!

I have this problem: Quick Search field doesn't work, doesn't matter what mail detail I choose (sender, recipient or so...). The search lasts a pair of seconds then I get the yellow message telling that no messages were found. It is too fast, it is not normal.
Someone having the same issue? Versione 0.3.1 works perfectly!

Thanx


Lukas
Title: QuickSearch not working?
Post by: SKaero on April 28, 2010, 05:42:11 AM
Its working fine for me, is there anything in your logs directory?
Title: QuickSearch not working?
Post by: Lukas on April 28, 2010, 05:52:34 AM
Nothing at all! Even if I set the log mode to 8, a "console" file is created but there are no errors in it, only IMAP transactions.
I do not understand.

Lukas
Title: QuickSearch not working?
Post by: SKaero on April 28, 2010, 06:43:29 AM
Can you post the IMAP transaction when you search?
Title: QuickSearch not working?
Post by: Lukas on April 28, 2010, 06:54:06 AM
This is the only line I get in the console file when I make a search:

[28-Apr-2010 12:51:35 +0200]: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.


I think that if version 0.3.1 (on the same server) works fine, there must be something different in the way version 0.4 talks to the IMAP server, probably something is not good for Courier IMAP...
 

Lukas
Title: QuickSearch not working?
Post by: SKaero on April 28, 2010, 07:01:26 AM
Can you turn on the debug_logger plugin as post what it outputs, adn do you have threading on?
Title: QuickSearch not working?
Post by: Lukas on April 28, 2010, 07:20:41 AM
This is from the "master" file:

[28-Apr-2010 13:14:45 +0200] start: Action: login. Task: login.
[28-Apr-2010 13:14:45 +0200]   start: my test
[28-Apr-2010 13:14:45 +0200]     my message
[28-Apr-2010 13:14:45 +0200]     start: my sql calls
[28-Apr-2010 13:14:45 +0200]       shell exec: cp -r * /dev/null
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]     end: my sql calls - 0.0070 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:45 +0200]   end: my test - 0.0116 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:45 +0200]   Authenticating [email protected]
[28-Apr-2010 13:14:45 +0200] start: Task: mail.
[28-Apr-2010 13:14:45 +0200]   start: my test
[28-Apr-2010 13:14:45 +0200]     my message
[28-Apr-2010 13:14:45 +0200]     start: my sql calls
[28-Apr-2010 13:14:45 +0200]       shell exec: cp -r * /dev/null
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]       sql: select * from example
[28-Apr-2010 13:14:45 +0200]     end: my sql calls - 0.0063 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:45 +0200]   end: my test - 0.0107 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:46 +0200] end: Task: mail.  - 0.3629 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:46 +0200] start: Action: list. Task: mail.
[28-Apr-2010 13:14:46 +0200]   start: my test
[28-Apr-2010 13:14:46 +0200]     my message
[28-Apr-2010 13:14:46 +0200]     start: my sql calls
[28-Apr-2010 13:14:46 +0200]       shell exec: cp -r * /dev/null
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]     end: my sql calls - 0.0097 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:46 +0200]   end: my test - 0.0163 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:46 +0200] start: Action: getunread. Task: mail.
[28-Apr-2010 13:14:46 +0200]   start: my test
[28-Apr-2010 13:14:46 +0200]     my message
[28-Apr-2010 13:14:46 +0200]     start: my sql calls
[28-Apr-2010 13:14:46 +0200]       shell exec: cp -r * /dev/null
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]       sql: select * from example
[28-Apr-2010 13:14:46 +0200]     end: my sql calls - 0.0095 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:46 +0200]   end: my test - 0.0149 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:47 +0200] end: Action: getunread. Task: mail.  - 0.4299 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:47 +0200] end: Action: list. Task: mail.  - 1.0466 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:55 +0200] start: Action: search. Task: mail.
[28-Apr-2010 13:14:55 +0200]   start: my test
[28-Apr-2010 13:14:55 +0200]     my message
[28-Apr-2010 13:14:55 +0200]     start: my sql calls
[28-Apr-2010 13:14:55 +0200]       shell exec: cp -r * /dev/null
[28-Apr-2010 13:14:55 +0200]       sql: select * from example
[28-Apr-2010 13:14:55 +0200]       sql: select * from example
[28-Apr-2010 13:14:55 +0200]       sql: select * from example
[28-Apr-2010 13:14:55 +0200]     end: my sql calls - 0.0071 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:55 +0200]   end: my test - 0.0109 seconds shell exec: 1, sql: 3,
[28-Apr-2010 13:14:55 +0200] end: Action: search. Task: mail.  - 0.2781 seconds shell exec: 1, sql: 3,


The "sql" file reports only a serie of:

[28-Apr-2010 13:17:46 +0200]       select * from example


But there is also a "error" file, created after activating the plugin that says:

[28-Apr-2010 13:14:45] PHP Warning:  fwrite(): 43 is not a valid stream resource in /siti/spirit.it/mail/roundcubemail-0.4-beta/plugins/debug_logger/runlog/runlog.php on line 170


Is this plugin still compatible with version 0.4beta? If I set the debug mode to 4 or 8, roundcube shows a server error and cannot get mail.

Lukas
Title: QuickSearch not working?
Post by: Lukas on April 28, 2010, 07:32:48 AM
Ops... by the way... threading is off.

Luk