OK, I've inserted the code you suggested and here are
my results.  I first tried deleting messages from my
trash folder, which fairly consistently produced the
error in the past.  However, with new code in place, I
wasn't able to reproduce the error (after about 5
attempts).  Next I tried to move messages from the
inbox to a folder.  The first attempt failed, the
second attempt was successfull.  Here is the output
from both attempts:

Attempt1-Failed:

Array
(
)

-----
Array
(
)

-----
Array
(
    [CONTENT_LENGTH] => 0
    [CONTENT_TYPE] =>
application/x-www-form-urlencoded
    [DOCUMENT_ROOT] => /home/html/tcplabs/squirrelmail
    [HTTP_ACCEPT] => image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_ACCEPT_LANGUAGE] => en-us
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_CONNECTION] => Keep-Alive
    [HTTP_COOKIE] => QSpaulis_active=0;
SQMSESSID=ad8c2ecffdbd2544ab947b4d59a3be83;
key=Xzdo0NzA2w%3D%3D
    [HTTP_HOST] => mail.tcplabs.com
    [HTTP_REFERER] =>
https://mail.tcplabs.com/src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX
    [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1)
    [HTTPS] => on
    [PATH] =>
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    [REMOTE_ADDR] => 216.27.183.118
    [REMOTE_PORT] => 3152
    [SCRIPT_FILENAME] =>
/home/html/tcplabs/squirrelmail/src/move_messages.php
    [SERVER_ADDR] => 172.12.0.250
    [SERVER_ADMIN] => [EMAIL PROTECTED]
    [SERVER_NAME] => mail.tcplabs.com
    [SERVER_PORT] => 443
    [SERVER_SIGNATURE] => <ADDRESS>Apache/1.3.27
Server at <A
HREF=\"mailto:[EMAIL PROTECTED]">mail.tcplabs.com</A>
Port 443</ADDRESS>

    [SERVER_SOFTWARE] => Apache/1.3.27 (Unix)
PHP/4.1.1 mod_ssl/2.8.12 OpenSSL/0.9.6b
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /src/move_messages.php
    [SCRIPT_NAME] => /src/move_messages.php
    [PATH_TRANSLATED] =>
/home/html/tcplabs/squirrelmail/src/move_messages.php
    [PHP_SELF] => /src/move_messages.php
    [argv] => Array
        (
        )

    [argc] => 0
)


ERROR:  
ERROR : Could not complete request.
Query: SELECT ""
Reason Given: SELECT failed: Can't open mailbox : no
such mailbox

Attempt2-Successful:

Array
(
    [msg] => Array
        (
            [1] => 17369
            [3] => 17360
            [4] => 17359
            [6] => 17357
            [7] => 17356
            [12] => 17346
            [13] => 17343
        )

    [mailbox] => INBOX
    [startMessage] => 1
    [location] =>
/src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX
    [targetMailbox] => mail/BR Rangers Lists
    [moveButton] => Move
)

-----
Array
(
)

-----
Array
(
    [CONTENT_LENGTH] => 306
    [CONTENT_TYPE] =>
application/x-www-form-urlencoded
    [DOCUMENT_ROOT] => /home/html/tcplabs/squirrelmail
    [HTTP_ACCEPT] => image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_ACCEPT_LANGUAGE] => en-us
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_CONNECTION] => Keep-Alive
    [HTTP_COOKIE] => QSpaulis_active=0;
SQMSESSID=ad8c2ecffdbd2544ab947b4d59a3be83;
key=Xzdo0NzA2w%3D%3D
    [HTTP_HOST] => mail.tcplabs.com
    [HTTP_REFERER] =>
https://mail.tcplabs.com/src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX
    [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1)
    [HTTPS] => on
    [PATH] =>
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    [REMOTE_ADDR] => 216.27.183.118
    [REMOTE_PORT] => 3154
    [SCRIPT_FILENAME] =>
/home/html/tcplabs/squirrelmail/src/move_messages.php
    [SERVER_ADDR] => 172.12.0.250
    [SERVER_ADMIN] => [EMAIL PROTECTED]
    [SERVER_NAME] => mail.tcplabs.com
    [SERVER_PORT] => 443
    [SERVER_SIGNATURE] => <ADDRESS>Apache/1.3.27
Server at <A
HREF=\"mailto:[EMAIL PROTECTED]">mail.tcplabs.com</A>
Port 443</ADDRESS>

    [SERVER_SOFTWARE] => Apache/1.3.27 (Unix)
PHP/4.1.1 mod_ssl/2.8.12 OpenSSL/0.9.6b
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /src/move_messages.php
    [SCRIPT_NAME] => /src/move_messages.php
    [PATH_TRANSLATED] =>
/home/html/tcplabs/squirrelmail/src/move_messages.php
    [PHP_SELF] => /src/move_messages.php
    [argv] => Array
        (
        )

    [argc] => 0
)



Warning: Cannot add header information - headers
already sent by (output started at
/home/html/tcplabs/squirrelmail/functions/strings.php:539)
in
/home/html/tcplabs/squirrelmail/src/move_messages.php
on line 243


As for posting the HTML of the offending mailbox list,
I'm not quite sure how to do that.  I tried "view
source" on that page and didn't get any results. 
Thanks for your attention to this issue, I'll help out
however I can.

-timber

--- p dont think <[EMAIL PROTECTED]> wrote:
> All,
> 
>   If you are still having this problem, place this:
> 
> global $_SERVER, $_POST, $_GET;sm_print_r($_POST,
> "-----", $_GET, "-----",
> $_SERVER);
> 
>    at around line 23 of src/move_messages.php and
> report back with it.  Do
> you get a mailbox listed near the top of this
> output?  You might also
> want to post the HTML for the mailbox listing page
> that created the
> offending request.
> 
>  - paul
> 
> >> I'm on OpenBSD 3.3-STABLE, PHP 4.2.3, Courier
> IMAP 1.7.1, Apache 1.3.27
> >> also using SSL.  I get nothing useful in my
> maillog, nor in Apache's
> >> error or access log.
> >
> > Er, sorry to reply to my own post, but I needed to
> clarify:
> >
> > Client:  WinXP Pro, current on patches, IE
> 6.0.2800.1106.xpsp2.030422-1633
> >
> > Server: As above, OpenBSD, etc etc.
> 
> 
> 
>
-------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps
> Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id56&alloc_id438&op=click
> --
> squirrelmail-users mailing list
> List Address:
> [EMAIL PROTECTED]
> List Archives: 
>
http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info:
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to