Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5204

During Geocoding if Google returns an error it triggers a PHP errorq

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.9
    • Fix Version/s: 3.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If you attempt to use the cron script to geocode 1/2 million contacts Google will notice. It will return an error something along the lines of "This API key has been temporarily suspended". This string throws a PHP error when we attempt to parse it with simplexml_load_string(). The attatched patch fixes this and adds a bit of throttling to UpdateAddress.php to attempt to avoid the error.

        Attachments

          Activity

            People

            • Assignee:
              rahulbile Rahul Bile
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: