The module can't get the google pagerank any more.
Becouse Google changed was the url and 3rd party app will have to update the query from.

Comments

Prancz_Adam’s picture

The solution for the problem:

You have to change the url in sitestats.inc file like this:

function _sitestats_getpagerank($url) {
  //$query = "http://toolbarqueries.google.com/search?client=navclient-auto&ch=" . _sitestats_checkhash(_sitestats_hashurl($url)) . "&features=Rank&q=info:".$url . "&num=100&filter=0";
  $query = "http://toolbarqueries.google.com/tbr?client=navclient-auto&ch=" . _sitestats_checkhash(_sitestats_hashurl($url)) . "&features=Rank&q=info:".$url . "&num=100&filter=0";
  $data = _sitestats_getpage($query);
  $pos = strpos($data, "Rank_");
  if ($pos === FALSE) {
    return '';
  } 
  else {
    $pagerank = (int) substr($data, $pos + 9);
    return $pagerank;
  }
}

After that it is working now!
Please somebody make a patch! Thanx!