[v-webmail] Re: Block Sender and Block Subject Error

  • From: "Priscilla Bondance ::" <priscilla@xxxxxxxxxxxxxxxxx>
  • To: v-webmail@xxxxxxxxxxxxx
  • Date: Wed, 24 Sep 2003 13:56:29 -0300

Hi Sean,

I was with the same problem.
So, open includes/pear/Net/URL.php, and alter "_parseRawQuerystring" function
to:

function _parseRawQuerystring($querystring)
{
 parse_str($querystring, $qs);
 foreach ($qs as $key => $value) {
  if(is_array($value)){
    foreach($value as $item){
     $qs[$key].= $item."\n";
    }
    $qs[$key] = str_replace("Array","",rawurlencode($qs[$key]));
   }else{
    $qs[$key] = rawurlencode($value);
   }
  }        
 return $qs;
}

I did it, and now it's work fine.

Pri


"Sean Gonsman" <sean@xxxxxxxxxxx> Escreveu:

 Hi,
 
 I am using V-webmail 1.5.0 and when I try to block a sender or subject I get
 the following error:
 
 Warning: rawurlencode() expects parameter 1 to be string, array given in
 /v-webmail/includes/pear/Net/URL.php on line 254
 
 Warning: Cannot modify header information - headers already sent by (output
 started at /v-webmail/includes/pear/Net/URL.php:254) in
 /v-webmail/includes/common.php on line 51
 
 I think I found an archive on this issue but there was no answer. Has anyone
 got a fix for this error?
 
 -Sean
 

Priscilla Bondance ::
Analista de Sistemas
+ 55 11 3549 9805


-- 
V-webmail Support Mailing List (http://www.v-webmail.org)
Archives: //www.freelists.org/archives/v-webmail/
To unsubscribe, send mail to: v-webmail-request@xxxxxxxxxxxxx
  with "unsubscribe" in the subject

Other related posts: