[imp] Behavior after delete & login actions

Dan Wilson dan@acucore.com
Thu, 11 Jul 2002 17:34:00 -0600


Quoting Michael M Slusarz <slusarz@bigworm.colorado.edu>:

> 1.) delete/copy/move and the pref 'mailbox_return' is set
>     (Not your case)
> 2.) The current index is invalid
>     (This would output an error message on the top of mailbox.php)
> 3.) You have deleted/copied/moved the last message in your mailbox
>     (This is possible since it won't print any error messages in
>      mailbox.php)
> 
> I would check #3 - how are you sorting your messages?  I sort by arrival or 
> thread and i have not had a single problem with the sorting code in the 
> last few weeks.

I usually am sorting by thread, but testing with sorting by arival results in 
the same behavior.  

After some debuging, I've detemined that it's the header call at line 152 of 
message.php that kicks me to the mailbox.  That code is only supposed to be 
executed if !$imp_message->isValidIndex().  

What would be the issue in that function that would cause my problem.  It 
checks to see if $this->index is null, but I have no clue where $this->index 
comes from.

After further checking my test.php, I see that I don't have the Mail_Mime 
package.  At least it's not detecting it, although I've checked, and I do have 
it. Would this cause my problem?

-Dan