I had generated the make file with the contrib module domain. When we enable the domain module, we just want to append the following code to the settings.php file.

include_once DRUPAL_ROOT.'/profiles/my_profile/modules/contrib/domain/settings.inc';

When i try to install this profile, i get an error

Fatal error: Undefined function domain_get_primary_table()

this happends because when we install a profile the settings.php file overwrites the include settings.inc. So when it try to install the domain module it gives the above error and stops installation. Anyone gave idea that how can we install the profile along with the domain module without this issue.

Thanks, A.John

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.