[imp] Virtual Trash weirdness

sunando sunando at nycc.com
Thu Jan 19 23:08:54 PST 2006


Hi:

I cannot empty trash at all in IMP. I have tried IMP 4.1 as well as CVS 
HEAD version under php 5.1 as well as 4.4.1. All to no avail. This is 
what happens:

If I select "when deleting move to trash" in option and try "empty 
trash" I only get an error message "Virtual Trash Folder does not 
exist." What gives? I thought "move to trash" would be mutually 
exclusive with the virtual trash feature? Strangely, the error message 
only appears in the browser. There is no error message in the apache log 
files (I have turned on all the php error logging features).

I then next try unchecking "move to trash" and turning on virtual trash. 
But when try to delete a message, the message list goes blank and the 
following appears in apache log:

[Fri Jan 20 11:42:41 2006] [error] [client x.y.z] PHP Notice:  Undefined 
variable: imp_search in /var/www/htdocs/horde/imp/lib/Message.php on 
line 256, referer: 
http://localhost/horde/imp/mailbox.php?no_newmail_popup=1&mailbox=INBOX

[Fri Jan 20 11:42:41 2006] [error] [client x.y.z] PHP Fatal error:  Call 
to a member function isVTrashFolder() on a non-object in 
/var/www/htdocs/horde/imp/lib/Message.php on line 256, referer: 
http://localhost/horde/imp/mailbox.php?no_newmail_popup=1&mailbox=INBOX

When I refresh the page, the message I tried to delete is still there. I 
just cannot delete anything when I turn on the virtual trash feature. 
Next I turned off virtual trash AND "move to trash". Now I can delete 
and undelete messages. But there is no option to "purge" or "expunge" 
deleted messages! I also see a lot of "undefined index: mbox",  
"undefined index: match" and "undefined index: field_end" in the apache 
error logs, all of them pointing to /horde/imp/search.php.

HOW THE HELL DO I DELETE MESSAGES?

Apart from that all other features are working well :-) My platform is: 
apache 2.0.55, php 5.1 & 4.4.1 and cyrus imap 2.2.12, with user database 
in LDAP.

Any help will be appreciated.

Thanks,

Sunando



More information about the imp mailing list