is it the right solution

phildu - December 29, 2006 - 21:59
Project:Multiple Domains
Version:5.x-1.x-dev
Component:documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

i want to purpose for all menbers of my family to make is own site

ei:
www.famillydomain.com is ok
i have made it master url in the single sign on
i have create a dns entry surnam.famillydomain.com point to the same root
i have made www.famillydomain.com as a primary domain name in the multipledomain but i'have an this error when i save it:
warning: Missing argument 1 for multidomain_default_domain_settings() in /home.10/arrimage/www/drupal5/modules/multidomain/multidomain.module on line 61
ihave create a subdomain call surnam.famillydomain.com
but when i load http://surnam.famillydomain.com i just see the famillydomain homepage
what's wrong ??

#1

skippy13 - December 30, 2006 - 23:50
Title:is it the right solution» warning: Missing argument 1 for multidomain_default_domain_settings()

I just started testing this module, too, and also experienced the same error message.

I edited multidomain.module, and simply added an empty value ('') to the array that's used to call the multidomain_default_domain_settings() function. The error went away, but I haven't finished my multidomain setup yet, so I can't confirm whether this is a viable long-term fix.

Patch attached.

AttachmentSize
multidomain.20061230.patch 0 bytes

#2

skippy13 - December 30, 2006 - 23:51
Title:warning: Missing argument 1 for multidomain_default_domain_settings()» is it the right solution

resetting the title for this item. Sorry for fouling that up.

#3

phildu - December 31, 2006 - 08:39

sory but the patch is empty
and i try to had something like
#error' => '', in the array but nothing happen
where i must had this ??

but you havent reply to my main question, am i on the right way ? (to do my multisites project) ?

thank's

#4

skippy13 - January 2, 2007 - 03:38

Attached is a patch that (hopefully!) actually contains content this time.

I'm trying to create a similar configuration:
www.familyname.com is the master site, which will provide an overview on the front page of the recent posts from people.
name1.familyname.com, name2.familyname.com, etc will exist for each user of the site, and should display only that user's blog postings (at least at first).

If I read the multidomain module description correctly, this is exactly the module we need. I haven't gone much further, though, so I don't know how successful I'll be.

AttachmentSize
multidomain.20070101.patch.txt 330 bytes

#5

Benjamin Melançon - January 31, 2007 - 13:50

We're also considering the Multiple Domains, core hack, and Single Sign-on approach to visually distinct but wholly integrated subsites. Right now I'm just subscribing to this report in the hope that it is updated, we will report back on this issue when/if we reach this point.

- ben

Agaric Design Collective :: http://agaricdesign.com/

#6

adrian - February 5, 2007 - 07:13

When attaching a patch, please set the status to patch (code needs review).

i only found this patch now. I will look into it soon.

#7

adrian - February 5, 2007 - 07:14
Status:active» needs review

#8

adrian - February 5, 2007 - 07:49

It could be the right solution for you.

You need to create each domain for each of the family members, and in the init code block, you need to add :

<?php
  $GLOBALS
['conf']['site_frontpage'] = 'blog/x'; // to whichever user you want to set it to.
?>

#9

wayland76 - January 18, 2008 - 00:38
Component:code» documentation
Category:bug report» feature request
Status:needs review» active

Sounds like this needs to be documented, then.

 
 

Drupal is a registered trademark of Dries Buytaert.