We have setup CiviCRM to run as part of an installation profile. So instead of the default sites/all/modules
folder, CiviCRM is installed in profiles/ourprofile/modules/contrib/civicrm
.
CiviCRM works perfectly and so we have had no issues. However, when testing an email campaign I keep getting this error message
Could not load the settings file at: (followed) by a path to civicrm.settings.php file.
Nothing loads and the links don't work. I read a few comments on Github that there is a similar issue for multisite on CiviCRM. However, this is a single site and I am not sure what do next as there is not much information on how this can be fixed.
I know the easiest solution is to move CiviCRM to the sites/all/modules
folder. However, this will make it harder for us to maintain versions for CiviCRM as part of our profile.
Any advice is appreciated. Thanks.