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

civicrm does not work when installed from a drupal profile

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code

      Description

      It appears that if you attempt to run civicrm as part of a drupal installation profile (www.example.org/profiles/myinstallprofile/modules/contrib/civicrm), civicrm almost works but fails in a few strange ways.

      1) the installer complains about /sites/default/civicrm.settings.php even though you are not using the default site folder
      2) the kcfinder is unable to find the appropriate folder

      example of code that doesn't work (packages/kcfinder/integration/civicrm.php)
      // correct base_url so it points to Drupal root
      $pos = strpos($base_url, '/sites/');

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joelcollinsdc Joel Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: