Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#67 View Full Header Error

closed-fixed
Erin Schnabel
None
5
2003-02-27
2003-02-18
Anonymous
No

This bug occurs when I try to use
View Full Header

The description of the bug:
ERROR : Could not complete request.
Query: SELECT ""
Reason Given: Invalid mailbox

I can reproduce the bug by:
Click on View Full Header

My web server information:
PHP Version 4.0.6
PHP Extensions (List)
* 0 = yp
* 1 = xml
* 2 = wddx
* 3 = sysvshm
* 4 = sysvsem
* 5 = standard
* 6 = sockets
* 7 = session
* 8 = posix
* 9 = pcre
* 10 = gettext
* 11 = gd
* 12 = ftp
* 13 = dba
* 14 = zlib
* 15 = imap
* 16 = ldap
* 17 = mysql
* 18 = pgsql
* 19 = apache

SquirrelMail-specific information:
Version: 1.4.0 RC2a
Plugins (List)
* 0 = abook_take
* 1 = squirrelspell
* 2 = message_details
* 3 = info
* 4 = newmail
* 5 = delete_move_next
* 6 = spamcop
* 7 = administrator
* 8 = bug_report
* 9 = calendar
* 10 = listcommands
* 11 = view_as_html

My IMAP server information:
Server type: courier
Server info: * OK [HIDDEN] ready. Copyright 1998-2001 Double
Precision,
Inc. See COPYING for distribution information.
Cabailities: IMAP4rev1 CHILDREN NAMESPACE THREAD=
ORDEREDSUBJECT
THREAD=REFERENCES SORT STARTTLS

-- fntuang@techie.com

Discussion

  • Logged In: NO

    FWIW, I received the same error.

    Terry Carmen

    terry@newfrontiersw.com

     
    • labels: 102904 -->
     
  • Chris Hilts
    Chris Hilts
    2003-02-20

    • status: open --> pending-invalid
     
  • Chris Hilts
    Chris Hilts
    2003-02-20

    Logged In: YES
    user_id=626255

    I am unable to reproduce this using PHP 4.2.3, Apache 1.3.27, and current (20 Feb 2003) CVS with Cyrus.

     
  • FT
    FT
    2003-02-26

    Logged In: YES
    user_id=721125

    The problem seems to be on this line in read_body.php
    $url = $base_uri.'src/view_header.php?'.$_SERVER
    ['QUERY_STRING'];

    $_SERVER['QUERY_STRING'] returns an empty string, and
    thus all the variables including mailbox, passed_id,
    startMessage are missing from the view_header.php link.

    SquirrelMail version 1.4.0 [CVS-DEVEL] (Feb 24),
    PHP Version 4.0.6, courier imap 1.4.2.

     
  • FT
    FT
    2003-02-27

    Logged In: YES
    user_id=721125

    It is working fine now after I upgraded my php to 4.2.3.
    $_SERVER was introduced in php 4.1 so php 4.0 couldn't
    recognize it.

    Seems to me that SquirrelMail 1.4 needs at least php 4.1 to
    work properly.

     
  • Erin Schnabel
    Erin Schnabel
    2003-02-27

    • status: pending-invalid --> closed-invalid
     
  • Erin Schnabel
    Erin Schnabel
    2003-02-27

    • assigned_to: nobody --> ebullient
    • status: closed-invalid --> closed-fixed
     
  • Erin Schnabel
    Erin Schnabel
    2003-02-27

    Logged In: YES
    user_id=644252

    our minimum requirements state 4.0.4 currently, so I fixed
    references to $_SERVER (which shouldn't have been there
    anyway, as we have mechanisms in place to fix that..)

    Should be all good now.