setPageTitle("GoogleMaps Error Log"); # report errors if (isset($H_Error)) { print '

'.$H_Error.'

'; return; } # check required variables if (!isset($H_BaseLink)) { throw new Exception("Variable \$H_BaseLink not set."); } if (!isset($H_Items)) { throw new Exception("Variable \$H_Items not set."); } if (!isset($H_ItemsPerPage)) { throw new Exception("Variable \$H_ItemsPerPage not set."); } if (!isset($H_TotalItems)) { throw new Exception("Variable \$H_TotalItems not set."); } $ListFields = [ "Address" => [ ], "Response" => [ "Heading" => "Error", ], "ErrorCount" => [ "Heading" => "Error Count", ], "LastUpdate" => [ "Heading" => "Last Attempt", ] ]; $ListUI = new ItemListUI($ListFields); $ListUI->fieldsSortableByDefault(false); $ListUI->itemsPerPage($H_ItemsPerPage); $ListUI->baseLink($H_BaseLink); $ListUI->addActionButton( "Delete", function ($Item) { return 'index.php?P=P_GoogleMaps_ErrorLog&A=DELETE&ID='.$Item["Id"]; }, "Delete.svg" ); ?>

# Google Maps: Geocode Errors

Failing addresses will be automatically retried. Retries can be stopped by deleting the errors for an address using the `Delete` buttons below.

display($H_Items, $H_TotalItems);