[imp] error when I delete a message from the message view
Rob Siklos
rob2 at siklos.ca
Mon Apr 14 11:39:21 PDT 2003
Sorry, the actual warning message is from imap_sort, and says:
imap_sort(): 3 is not a valid imap resource in
/home/robsiklos/www/horde/imp/lib/Mailbox.php on line 546
The the call to imap_sort() shown below, the contents of $cmd is:
Array ( [0] => Resource id #3 [1] => 1 [2] => 0 [3] => 1 )
So I'm guessing that something is wrong with $imp['stream'].
> upon further inspection, I've narrowed it down even further to the line:
> $sorted = @call_user_func_array('imap_sort', $cmd);
> in the function _getSortedIndex() in Mailbox.php.
>
> This function returns null and I get a warning that "imap_sort" is not a
> valid resource.
>
> Any help would be greatly appreciated (obviously!)
>
> > Ok - I've narrowed down the problem to the following:
> >
> > After I delete the message (as described below), the function _setRange
in
> > Mailbox.php gets passed what seems to be an unset array.
> >
> > When I do a var_dump() in this situation, the result is NULL.
> >
> > Can anyone help me figure out why/how I'm getting this error?
> >
> > Thanks in advance,
> >
> > Rob
> >
> > ----- Original Message -----
> > From: "Rob Siklos" <rob2 at siklos.ca>
> > To: <imp at lists.horde.org>
> > Sent: Friday, April 04, 2003 5:44 PM
> > Subject: [imp] error when I delete a message from the message view
> >
> >
> > > Hello,
> > >
> > > I'm using cvs versions of Horde and IMP (among others), updated this
> > > morning. IMP is configured to use a POP3 server, and the backend for
> > > everything else is MySQL.
> > >
> > > Ever since I set it up (a few days ago), I run into the following
> problem:
> > >
> > > I click on a message to view it, then I click on the Delete command
from
> > the
> > > IMP toolbar. The message does get deleted, but I get these errors at
> the
> > > top of the main frame (just above the Inbox, Compose, etc. icons) and
no
> > messages
> > > appear in the list. If I click on Inbox, everything seems to go back
to
> > > normal.
> > >
> > > ## BEGIN OUTPUT ##
> > > Warning: Bad arguments to implode() in
> > > /home/robsiklos/www/horde/imp/lib/Mailbox.php on line 590
> > >
> > > Warning: Bad arguments to implode() in
> > > /home/robsiklos/www/horde/imp/lib/Mailbox.php on line 590
> > >
> > > Warning: Cannot add header information - headers already sent by
(output
> > > started at /home/robsiklos/www/horde/imp/lib/Mailbox.php:590) in
> > > /home/robsiklos/www/horde/imp/templates/common-header.inc on line 3
> > >
> > > Warning: Cannot add header information - headers already sent by
(output
> > > started at /home/robsiklos/www/horde/imp/lib/Mailbox.php:590) in
> > > /home/robsiklos/www/horde/imp/templates/common-header.inc on line 4
> > > ## END OUTPUT ##
> > >
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > >
> > > Rob.
> > >
> > >
> > > --
> > > IMP mailing list
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> > >
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >
>
>
More information about the imp
mailing list