CRM-6680 Errors after saving a "contact photo"

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When I edit a contact and upload a contact image ( the new core field on the contact summary area ), I get the following error messages:

      Warning: getimagesize() [function.getimagesize]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/pogstone/public_html/com_pogstone_devj/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View.php on line 125

      Warning: getimagesize(http://dev.mygroup.c/media/civicrm/custom/Koala_small_c6299b0b1ed665251baa0d31fc3bd432.jpg) [function.getimagesize]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/pogstone/public_html/com_pogstone_devj/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View.php on line 125

      I also see these same error messages every time I view that contact. I think the issue has to do with the hostname in the URL is missing the last 2 letters. ( ie http://dev.mygroup.c/ should be http://dev.mygroup.com

        Attachments

          Activity

          [CRM-6680] Errors after saving a "contact photo"
          Yashodha Chaku added a comment -

          This has been fixed as a part of http://issues.civicrm.org/jira/browse/CRM-6658

            People

            • Assignee:
              Yashodha Chaku
              Reporter:
              Sarah Gladstone

              Dates

              • Created:
                Updated:
                Resolved: