Jump to:
| Project: | Domain Access |
| Version: | 6.x-2.0-rc8 |
| Component: | - Domain Theme |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Our sub-domain is not using the front page that is set in the domain settings page. The sub-domain is using the domain id 0 front page.
I queried the Domain_Conf table and the data in the settings column is right.
Domain_id = 0
;s:14:"site_frontpage";s:23:"content/home-page";
Domain_id = 1
;s:14:"site_frontpage";s:23:"content/fpchs-home-page";
PHP 5.2.9
Mysql 5.0.67
Module list:
domain_theme
getid3
masquerade
content_profile
webform
aggregator
block
blog
color
comment
dblog
filter
help
menu
node
path
php
poll
profile
search
statistics
system
taxonomy
trigger
update
upload
user
acl
admin_menu
advanced_help
help_example
advanced_profile
blocks404
captcha
content
content_copy
content_permissions
nodereference
number
optionwidgets
text
userreference
content_access
content_profile_registration
date
date_api
date_timezone
domain
domain_alias
domain_conf
domain_content
domain_nav
domain_prefix
domain_source
domain_strict
domain_user
domain_views
emaudio
emimage
emimport
emthumb
emvideo
emfield
fckeditor
filefield
filefield_meta
filter_perms
flashvideo_cck
flashvideo_views
googleanalytics
iframe
imageapi
imageapi_gd
imageapi_imagemagick
imagecache
imagecache_ui
imagefield
itunes
ldapauth
ldapdata
ldapgroups
link
linkimagefield
links
links_admin
links_related
links_weblink
module_grants
nice_menus
nodehierarchy
nodehierarchy_views
path_redirect
publishcontent
recaptcha
revisioning
flowplayer
flowplayer3
imagerotator
lutman
onepixelout
swfobject2
swfobject
swftools
ufo
wijering4
tokenSTARTER
token_actions
twitter_actions
views_export
views_ui
viewscarousel
views_groupby
views_slideshow
view_unpublished
pathauto
twitter
fieldgroup
token
views
flashvideo
jquery_update
me
Comments
#1
The last person who reported this had erroneously set $base_url in settings.php.
Check that first, it cannot be hardcoded.
Otherwise, you have to see what module is interfering, because this works as designed.
And rc8 is no longer supported.
#2
No I didn't add a $base_url but, I did add an array to the settings.php file after the include './sites/all/modules/domain/settings.inc';
$conf = array('swftools_media_url' => 'http://www.flaglerschools.com/sites/default/files/video_podcast_output',);
This was needed to change the Media directory url: in SWF Tools File locations.
So I moved the $conf line before the include line and all is working so far.
Thanks for the great module and pointing me in the right direction.
Yes today I plan on up grading to 6.x-2.0
#3
Flagler Schools! I used to live in Palm Coast!
You may want to make that swf tools conf domain-specific, using hook_domainconf() or hook_domainbatch() in the API.
What was happening is that your $conf array was overwriting the one loaded by Domain Conf.
#4
The other way to fix this, btw is to leave the $conf line there, but not reset the array. Use:
$conf['swftools_media_url'] = 'http://www.flaglerschools.com/sites/default/files/video_podcast_output';And it should be fine.
#5
After upgrading to 6.x-2.0
Admin can save the content type but user's with the right roles get:
The source affiliate must be selected as a publishing option.
Setting for content type are
Send to all affiliates: unchecked
Publish to: District
Source domain: District
The user has District checked in the user profile under Domain access settings.
If we switch Source domain to "Use active domain" the user then can save the
content type.
Would this new behavor be caused by this line in the settings.php file
$conf = array('swftools_media_url' => 'http://www.flaglerschools.com/sites/default/files/video_podcast_output',);
I have not had time to switch to
$conf['swftools_media_url'] = 'http://www.flaglerschools.com/sites/default/files/video_podcast_output';
I was glad when I found the Domain Access module, we are going to start moving the
different schools(10) over to drupal in the coming week, as the district site has been drupal
for the last couple of months.
I have lived in Palm Coast for 4 year and love it. Did you move out of Florida?
Will you be going to the local drupal code camp in Feb 2010?
http://groups.drupal.org/florida
#6
This is the wrong issue for that Domain Soruce problem. There is a patch already in the queue (and in HEAD and 6--2). See #620596: Domain source does not support non-editor creation of nodes.. It is unrelated to the $conf issue.
We moved to Georgia 8 years ago. Used to live on Florida Park Drive. You can use my contact form for personal questions.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.