# HG changeset patch # User Henry S. Thompson # Date 1501407367 14400 # Node ID 77ff181476b80dbffdc5da7048c65c10fb5ec3d3 # Parent b78209a5fba19f625f286a22742eddfe66caa982 geoip fix?, better debugging diff -r b78209a5fba1 -r 77ff181476b8 geoiptest.php --- a/geoiptest.php Sat Feb 18 15:18:47 2017 +0000 +++ b/geoiptest.php Sun Jul 30 05:36:07 2017 -0400 @@ -1,7 +1,7 @@ diff -r b78209a5fba1 -r 77ff181476b8 index.php --- a/index.php Sat Feb 18 15:18:47 2017 +0000 +++ b/index.php Sun Jul 30 05:36:07 2017 -0400 @@ -1,5 +1,5 @@ $d) { $$i=isset($_GET[$i])?$_GET[$i]:$d; @@ -115,13 +113,13 @@ $xml = new SimpleXMLElement($output); $resName=$xml->getName(); $code=$xml->Error->Code; - file_put_contents('/var/ywww/debug/phpDebug',"Losing: $resName, $code\n",FILE_APPEND); + file_put_contents('/var/ywww/debug/phpDebug',"Losing (test): $resName, $code\n",FILE_APPEND); if ($code=='RequestThrottled') { usleep(200000); // Try to reduce throttling until we get a // principled solution in place } else { - file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". + file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\nurl: $url\n". print_r($parameters,TRUE)."\n",FILE_APPEND); if ($code=="") { file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$output\n",FILE_APPEND); @@ -427,7 +425,7 @@ [@attributes] => Array ( [Name] => AWSAccessKeyId - [Value] => AKIAJBXEHTNCU6LLFNIA + [Value] => AKIAIHTNWC7L6LOUY4LQ ) )