Closed (works as designed)
Project:
Domain
Version:
7.x-3.9
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2010 at 17:53 UTC
Updated:
3 Apr 2016 at 23:44 UTC
Jump to comment: Most recent
Comments
Comment #1
agentrickardPlease read INSTALL.txt (or INSTALL_QUICKSTART.txt) provided with the module.
Comment #2
yamenshahin commentedOk agentrickard, I will do that.
Comment #3
agentrickardIf the instructions there are not clear, let me know.
Comment #4
yamenshahin commentedThe solution is:
Add the following four lines of code to your settings.php file:
/**
* Add the domain module setup routine.
*/
include './sites/all/modules/domain/settings.inc';
Thank you agentrickard.
Those three files INSTALL.txt, INSTALL_QUICKSTART.txt and README.txt are the most Well-written guide for any modules I ever read. They are a little long, but I guess that's what we need.
Thanks again for help.
Comment #6
ClearXS commented#4 for me results in:
"Fatal error: Call to undefined function filter_xss_bad_protocol() in /includes/common.inc on line 1053"
NOTE: You may need to alter the file path above based on your site configuration. See INSTALL.txt for further help.
IMPORTANT: You must add these lines to settings.php after the $db_url. Normally, you should add these lines to the end of the settings.php file.
=> no effect on error; maybe because I have a database prefix?
Probably this can be resolved if I really are going to install multi-domain. But for now I only wanted to tick it on and it worked without the 'fix' but only so now and then (I have 700 modules and that also gives problems).
So for now I 'remove' the module by renaming it with a dot "." in front; like to have it in the non-active module list (that I can see through a module that also lists the non-active modules.
Comment #7
agentrickardPlease do not reopen closed issues.
There is another issue for that problem, which is separate from the original topic, one which I have been unable to replicate. Please report debug findings here: #921984: Fatal error: undefined function filter_xss_bad_protocol()
Comment #8
mhamed commentedI have the same problem with jPlayer
once click on the link on the bottom of the player it displays as a new tab on the browser and start to read
who knows the problem? thanks
Comment #9
Nehbur commentedIn my case I was uploading the settings.php, but it failed to upload due to permissions error. I had to manually delete (or rename) the settings.php on my server before I was able to upload the edited settings.php. Worked fine after that. Your guide is amazing.
Comment #10
kingmusa5@gmail.com commented"Domain access failed to load during phase: bootstrap include. Please check your settings.php file and site configuration."
Add the following four lines of code to your settings.php file:
/**
* Add the domain module setup routine.
*/
include './sites/all/modules/domain/settings.inc';
Then You might get a problem uploading the edited settings.php
What You have to do is rename the default folder to default1 then create a new
Default folder then drop in your edited settings.php and also drop in files folder the one in the folder1 also drop in the default.settings.php
The problem is solved thanks to yamenshahin
Comment #11
leex commentedFor users of drush archive-restore, if you are specifying a different database, drush will append those database details to the end of settings.php AFTER the 'Domain Access settings include'.
The 'Domain Access settings include' needs to be after the database details else the site will fail to /install.php
Comment #12
msathesh commentedThank you #4 @yamenshahin .. it works now..
Comment #13
extensive commentedThanks #4 works for me.
Comment #14
nnhaswell commentedThank you #4 @yamenshahin .. it works for me
Comment #15
wolfmarter commentedWhen i add this to the settings.php
/**
* Add the domain module setup routine.
*/
include DRUPAL_ROOT . '/sites/all/modules/domain/settings.inc';
i am unable to access the backend of drupal. the domains are configured and all show to the same ip adress.
Comment #16
OPz commentedI'm probably gonna get blasted for this but...
I tried this and had the same message occur again after I edited the 4 lines of code to settings.php.
I am kind of at a stand still with this now seeing as for everyone else it worked after adding those lines, and yet for me, my admin keeps showing that error.
*scratching head* + *hoping someone had this too and can help*
I also see this question is for Drupal version 6x, I'm on 7x3.9 :/
---- found a solution ----
I found another resource here that seemed to fix the issue for me hope this helps some others.
http://drupal.devheads.org/drupal-7x/configuring-settingsphp
Comment #17
kyserkess commentedI still receive the error:
Since the problem could be any number of things, I'll try to layout some of the variables:
That cleared up the "200.png not found" message. I added the snippet of code to the setting.php file
include DRUPAL_ROOT . '/sites/all/modules/domain/settings.inc';(perhaps after installation of the Domain Access module, but then re-installed it) and then tried again writing out the full path to the fileinclude DRUPAL_ROOT . http://www.mainAccount.com/EnglishHome/sites/all/modules/domain/settings.inc';. Then, I followed the additional instructions of moving the three module settings files into the same directory and calling the files that wayinclude 'settings.inc';I read that the error message might be incorrect in the ReadMe file, but I think the error is correct because I can't see options to set different themes from Structure -> Domain -> Settings -> Theme Settings (for instance).
QUESTIONS:
First, how can I be sure if it's working properly?
Second, if it's not working properly, what else can I do to fix it?
Comment #18
kyserkess commentedI figured out the settings.php file was uploading to the wrong folder . . working now
Comment #19
mikeker commentedReturning things to how they were at #7...
Comment #20
madelyncruz commented#4 works fine. Thank you so much...
Comment #21
web506 commented#10 Worked! Thank you
Comment #22
qenxx commentedThanks, work