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

Adding a contact photo uses wrong URL for certain server configurations

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.5
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The wrong URL is used for contact pictures for certain server configurations.

      To reproduce this issue: Edit a contact and upload a contact picture, then save the contact.

      The following error message results:
      warning: getimagesize(http://devd.pogstone.com/com_pogstone_devd/sites/default/files/civicrm/custom/eBLAST_2c5a38453d0fccc53c8d38d91ca3d710.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/pogstone/public_html/com_pogstone_devd/sites/all/modules/civicrm/CRM/Contact/Page/View.php on line 125.

      My server configuration is as follows:
      The main website/primary domain lives in the file system at: /home/pogstone/public_html/

      The subdomain that is having the problem lives in the file system at: /home/pogstone/public_html/com_pogstone_devd/

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sgladstone Sarah Gladstone
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: