# HG changeset patch # User Henry S. Thompson # Date 1487420916 0 # Node ID 5aa24c984a3bb24192b35b0a1eae2b8c9d3c1fc0 # Parent 232deb0b066ad0903fe6bf9fd70a58ca79e9f9ad if no code show entire response diff -r 232deb0b066a -r 5aa24c984a3b php/read/getBookDetails.php --- a/php/read/getBookDetails.php Sat Feb 18 11:38:36 2017 +0000 +++ b/php/read/getBookDetails.php Sat Feb 18 12:28:36 2017 +0000 @@ -222,6 +222,9 @@ else { file_put_contents('/var/ywww/debug/phpDebug',"parms bd: ". print_r($parameters,TRUE)."\n",FILE_APPEND); + if ($code=="") { + file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$out\n",FILE_APPEND); + } } } else { diff -r 232deb0b066a -r 5aa24c984a3b xml/getAmazonInfo.php --- a/xml/getAmazonInfo.php Sat Feb 18 11:38:36 2017 +0000 +++ b/xml/getAmazonInfo.php Sat Feb 18 12:28:36 2017 +0000 @@ -123,6 +123,9 @@ else { file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". print_r($parameters,TRUE)."\n",FILE_APPEND); + if ($code=="") { + file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$out\n",FILE_APPEND); + } } } else {