Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.6
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
I have discovered an issue when the civicrm module is in /sites/<siteurl>/modules/contrib/civicrm/
rather than
/sites/all/modules/contrib/civicrm/
The /civicrm.config.php file doesn't account for this when working out the config file url.
The problem was noticed trying to use contribution widgets producing the error "Could not load the settings file at: <wrong url>"
Changing line 60 of civicrm.config.php to
$contribDir = 'modules' . DIRECTORY_SEPARATOR . 'contrib';
Solves the problem for our site but I imagine it may break other sites?