Dear Ports admin, I install sqstat ports and the problem excatly as is in the following url. Error (1): Cannot get data. Server answered: HTTP/1.1 200 OK ; SqStat | Geek In Linux | | | | | |
| | | | | Error (1): Cannot get data. Server answered: HTTP/1.1 200 OK ; SqStat | Gee... | | | | I Tried to install the patch and its working fine. The diff file contains modification to sqstat.class.php.diff sqstat.class.php sqstat.class.php.default 107c107 < if($raw[0]!="HTTP/1.1 200 OK"){ --- > if($raw[0]!="HTTP/1.0 200 OK"){ 131,132c131,132 < if(substr($v,0,8)=="peer:") $parsed["con"][$connection]["peer"]=substr($v,6); < if(substr($v,0,6)=="me:") $parsed["con"][$connection]["me"]=substr($v,4); --- > if(substr($v,0,5)=="peer:") >$parsed["con"][$connection]["peer"]=substr($v,6); > if(substr($v,0,3)=="me:") >$parsed["con"][$connection]["me"]=substr($v,4); 178c178 < $ip=substr($v["remote"],0,strpos($v["remote"],":")); --- > $ip=substr($v["peer"],0,strpos($v["peer"],":")); 189c189 < $ip=ip2long(substr($v["remote"],0,strpos($v["remote"],":"))); --- > >$ip=ip2long(substr($v["peer"],0,strpos($v["peer"],":"))); 315c315 < ?> --- > ?> \ No newline at end of file thanks. Best Regards, -Teddy Js- _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"