Although I expect this has stopped running by now - there surely is a script timeout limit (usualy 20 minutes) that has expired and forced it to terminate - I've done the exact same thing in the past, and I simply renamed the appropriate table momentarily. This caused the script to error out and quit. I didn't have to admit my mistake to anyone [8-).
On Dec 31, 3:42 am, Dan44 <[email protected]> wrote: > I was attempting to figure out why some of my addresses were not being > geo-coded and I accidently commented out this line in the ELSE part of > the script: $geocode_pending = false; > > Therefore, the code looked like this: > > } else if (strcmp($status, "620") == 0) { > // sent geocodes too fast > $delay += 100000; > } else { > // failure to geocode > > // $geocode_pending = false; > > // echo "Address " . $address . " failed to geocoded. "; > // echo "Received status " . $status . " > > mail([email protected], 'Coding Error', $address); > > \n"; > > } > usleep($delay); > } > > } > > -------------------- > > All of the three addresses it is checking are bad addresses and > because the $geocode_pending never gets set to FALSE, it just keeps > looping. And because I set up an email notification to myself, I am > getting an email every few seconds alerting me to the error in coding. > > I removed the php file from my server, deleted the bad addresses out > of the mysql database and even removed the GoogleMap credential string > from the pages. This is not stopping the loop - does anyone know how > to end it? Does anyone know if there is a time-out eventually? > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
