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

CKEditor configuration can't be edited on a Drupal multisite installation

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      I can't edit CKEditor configuration on my Drupal multisite installation. In the console appears this file not found error

      https://........./sites/default/files/civicrm/persist/crm-ckeditor-config.js

      It make sense because the file is located on

      https://......../sites/SITENAME/files/civicrm/persist/crm-ckeditor-config.js

      I was debugging a bit and the problem seems to come from this line https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/System/Base.php#L580.

      $siteName doesn't is on $civicrm_root and for this reason $siteName ever be empty.

      Maybe this error will be affecting more components of CiviCRM because the functions getDefaultFileStorage() and getCiviSourceStorage() are involved.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              francescbassas Francesc Bassas i Bullich
            • Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: