The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SquirrelMail issues

Discussion in 'E-mail Discussions' started by DCH, Jan 6, 2007.

  1. DCH

    DCH Member

    Joined:
    May 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I'm using version: cPanel 10.9.0-S119

    When viewing mail in SquirrelMail you have the option of clicking the "More" link after the TO address. To view all recipients.

    However, by doing this - I get the following error:
    ERROR:
    ERROR: Could not complete request.
    Query: SELECT ""
    Reason Given: SELECT failed: Can't open mailbox : no such mailbox

    Viewing the headers works - but clients have complained about the other link being preferred.

    Anyone know if it's an SM bug or should I be digging into a MySQL problem or what?
     
  2. Rubas

    Rubas Well-Known Member

    Joined:
    Sep 15, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    same here ...
     
  3. hariskhan

    hariskhan Well-Known Member

    Joined:
    Apr 15, 2004
    Messages:
    146
    Likes Received:
    0
    Trophy Points:
    16
    Found a fix

    Hello,

    Talked with the squirrelmail dev team and found a fix.

    The fix is to comment out line # 215, 216, 217 in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/strings.php

    ;-------------------------------------------------------------------------------------------

    /**
    * php_self
    *
    * Creates an URL for the page calling this function, using either the PHP global
    * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
    *
    * @return string the complete url for this page
    */
    function php_self () {
    // if ( sqgetGlobalVar('REQUEST_URI', $req_uri, SQ_SERVER) && !empty($req_uri) ) {
    // return $req_uri;
    // }

    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {

    // need to add query string to end of PHP_SELF to match REQUEST_URI
    //
    if ( sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER) && !empty($query_string) ) {
    $php_self .= '?' . $query_string;
    }

    ;-------------------------------------------------------------------------------------------

    Following is the confirmation of the fix going into squirrelmail cvs;

    http://squirrelmail.cvs.sourceforge...tions/strings.php?r1=1.184.2.62&r2=1.184.2.63
     
    #3 hariskhan, Jan 11, 2007
    Last edited: Jan 11, 2007
  4. DCH

    DCH Member

    Joined:
    May 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    ahhh fantastic!

    thank you very much!
     
  5. HARD

    HARD Member

    Joined:
    Jul 21, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Fixed

    Thanks , that has fixed the problem :)
     
  6. DCH

    DCH Member

    Joined:
    May 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Well this is a problem again.... No idea why though.

    Also - clicking Reply or Delete when viewing a message returns the following error as well:
     
Loading...

Share This Page