I have just tried to install domain access and everything was going fine till i edited the settings.php file with the custom_url_rewrite_outbound.patch
as of this point i am unable to access any url on the site, all attempts redirect to install.php

I have since removed the patch, no change, removed the module and still no change.

Can someone give me a clue how to get my site back from this situation.

Comments

boast’s picture

Category: bug » support
agentrickard’s picture

Version: 5.x-1.0rc4 » 5.x-1.0
Component: - Domain Conf » Code

custom_url_outbound is not in rc4. Nor is it part of Domain Conf.

Did you finish installing Drupal before you installed Domain Access?

If not, remove DA code and re-install Drupal.

If you are getting bounced to install.php, that means that Drupal is not finding your settings.php file with your installed database settings.

agentrickard’s picture

The other possibility is that you entered the wrong "Primary domain" under the module settings. It may be that the server is redirecting to the wrong host domain and finding a default settings.php file.

Do you have any folder inside /sites other than default?

Did you configure the DA module? If so, what did you set your Primary domain to be?

boast’s picture

Hi, thanks for your comments, with the help of a good friend i managed to bring the site back, i think you were probably right, i must have made a settings.php mistake somehow, although i dont know what is was. Will be trying this out on a test domain first from now on:)

agentrickard’s picture

Status: Active » Closed (fixed)

Always start with a test site :-).

There is a known issue (to be corrected) that if you misconfigure the Primary domain, you will make your site inaccessible.

For example, if you go to Admin > Build > Domains and enter "test.foo" as the Primary domain, the module will try to redirect users to that domain. That redirect will fail, and your site will go down.

The way to disable DA in the event of trouble is either:

-- Go to the {system} table of your database and set the 'status' column of the 'domain' module to zero (0).
-- Open domain.module and comment out the domain_init() function.