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

Variable resourceBase contains incorrect path in multi-language websites

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.4.1
    • Component/s: None
    • Labels:
      None

      Description

      When my visitors browse my website using the default language English, resourceBase = "/sites/all/modules/civicrm/" which is correct. However, when they switch to the French language in my website, resourceBase = "/fr/sites/all/modules/civicrm/" which does not exist. So, they cannot see any images provided by civicrm because image links now refer to this directory "/fr/sites/all/modules/civicrm/". For example, my event pages display iCalendar images using non-existent file /fr/sites/all/modules/civicrm/i/office-calendar.png.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              franceslui Frances
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: