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

The civicrm.config.php does not consider drupals possible configuration of a sites/all/modules/contrib folder

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.2.0
    • Labels:
      None

      Description

      So if I put all my modules in sites/all/modules/contrib and run say
      php bin/cli.php -u test -p test -e Job -a execute
      I will get this error
      Could not load the settings file at: /var/www/dlive/sites/all/modules/contrib/civicrm/../../../default/civicrm.settings.php
      But if I alter the civicrm.config.php so that it looks for contrib folder as well it works. This way the user does not have to think about setting up a settings_location.php
      I think this is common enough in a drupal install to be an issue.
      I attached a potential patch.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              alfrednutile Alfred Nutile
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: