when I enable the cache and i logon, the new messages only appear if i click in E-mail button, can someone help? I'm use version 3.0 . Thank's


Logs :

[11-Sep-2009 14:27:18 -0300]: DB Error: MDB2 Error: constraint violation Query: _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO messages (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers, structure) VALUES ('3600', 0, 'INBOX.msg', now(), '20', '1911', 'cartões de ponto', 'Aurea <aurea@grupoatarde.com.br>', 'edineide@grupoatarde.com.br <ed22de@grupo.com.br>', '', FROM_UNIXTIME(1250191480), 933058, 'O:14:\"iilBasicHeader\":32:{s:2:\"id\";s:2:\"20\";s:3:\"uid\";s:4:\"1911\";s:7:\"subject\";s:35:\ in /webhost/webmail.atarde.com.br/program/include/rcube_mdb2.php on line 627 (GET /?_task=mail&_action=list&_mbox=INBOX&_page=1&_sort=size_DESC&_remote=1&_=1252690604609&_unlock=1)
[11-Sep-2009 14:27:30] MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement]

Or:

[11-Sep-2009 14:27:30 -0300]: DB Error: MDB2 Error: constraint violation Query: _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO messages (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers, structure) VALUES ('3600', 0, 'INBOX.msg', now(), '20', '1911', 'cartões de ponto', 'Aurea <aurea@grupo.com.br>', 'edineide@grupo.com.br <edide@grupo.com.br>', '', FROM_UNIXTIME(1250191480), 933058, 'O:14:\"iilBasicHeader\":32:{s:2:\"id\";s:2:\"20\";s:3:\"uid\";s:4:\"1911\";s:7:\"subject\";s:35:\ in /webhost/webmail.atarde.com.br/program/include/rcube_mdb2.php on line 627 (GET /?_task=mail&_action=list&_mbox=INBOX&_page=1&_sort=date_ASC&_remote=1&_=1252690616390&_unlock=1)
[11-Sep-2009 14:28:10] MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement]
[Last executed query: INSERT INTO messages
         (user_id, del, cache_key, created, idx, uid, subject, `from`, `to`, cc, date, size, headers, structure)
         VALUES ('3878', 0, 'INBOX.sent-mail.msg', now(), '449', '450', 'Fwd: olha a virgula ahi, gente!', 'orvilas@grupo.com.br', 'feig.com.br', 'rafaelarey96@hotmail.com', FROM_UNIXTIME(1238027235), 2568, 'O:14:\"iilBasicHeader\":33:{s:2:\"id\";s:3:\"449\";s:3:\"uid\";s:3:\"450\";s:7:\"subject\";s:31:\"Fwd: olha a vila ahi, gente!\";s:4:\"from\";s:21:\"orvilas@atarde.com.br\";s:2:\"to\";s:16:\"festa4@ig.com.br\";s:2:\"cc\";s:24:\"rafaela@hotmail.com\";s:7:\"replyto\";s:0:\"\";s:11:\"in_reply_to\";s:0:\"\";s:4:\"date\";s:31:\"Wed, 25 Mar 2009 21:27:15 -0300\";s:9:\"messageID\";s:55:\"<20090325212715.1y0rk6ts0wgocgc4@webmail.com.br>\";s:4:\"size\";s:4:\"2568\";s:8:\"encoding\";s:4:\"7bit\";s:7:\"charset\";s:0:\"\";s:5:\"ctype\";s:15:\"multipart/mixed\";s:5:\"flags\";a:1:{i:0;s:4:\"Seen\";}s:9:\"timestamp\";s:10:\"1238027235\";s:1:\"f\";s:0:\"\";s:14:\"body_structure\";s:0:\"\";s:12:\"internaldate\";s:26:\"25-Mar-2009 20:18:13 -0300\";s:10:\"references\";s:0:\"\";s:8:\"priority\";s:0:\"\";s:6:\"mdn_to\";s:0:\"\";s:8:\"mdn_sent\";s:0:\"\";s:8:\"is_draft\";s:0:\"\";s:4:\"seen\";s:1:\"1\";s:7:\"deleted\";s:0:\"\";s:6:\"recent\";s:0:\"\";s:8:\"answered\";s:0:\"\";s:9:\"forwarded\";s:0:\"\";s:4:\"junk\";s:0:\"\";s:7:\"flagged\";s:0:\"\";s:6:\"others\";a:0:{}s:3:\"bcc\";s:22:\"ww@hotmail.com\";}', NULL)]
[Native code: 1062]
[Native message: Duplicate entry '3878-INBOX.sent-mail.msg-450' for key 2]



--
----------------------------------------------------------------
Tiago Gomes Pereira http://www.tiagogomes.eti.br
LPI Certified
LPI ID - LPI000129445
IT Service Management - ITIL FOUNDATION V2
ID - SR341901
algodas@gmail.com