SquirrelMail issues

DCH

Member
May 4, 2006
17
0
151
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?
 

hariskhan

Well-Known Member
Apr 15, 2004
146
0
166
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
 
Last edited:

DCH

Member
May 4, 2006
17
0
151
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:
No input file specified.