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

Web Service URL containing trailing whitespace causes non-recoverable error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      If the Address Standardization | Web Service URL (/civicrm/admin/setting/preferences/address?reset=1) contains trailing white space, an error will occur when a user attempts to add an Event Location to a New or existing event. The error report is shown below:

      Sorry. A non-recoverable error has occurred.

      php_network_getaddresses: getaddrinfo failed: Name or service not known

      Return to home page.

      Error Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => 0
      [message] => php_network_getaddresses: getaddrinfo failed: Name or service not known
      [mode] => 16
      [debug_info] =>
      [type] => PEAR_Error
      [user_info] =>
      [to_string] => [pear_error: message="php_network_getaddresses: getaddrinfo failed: Name or service not known" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
      )

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              talldavid David Matocha
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: