Hi, great you released beta7!

I found that after installing the module beta7 the navigational links to my suburl "websites" are not working anymore.
See for yourself on: www.isnow.in . Every subdomain I click in..will not go to the suburl, but to the latest logged in url.
See for example Arno is now in: gives url: http://martijn.isnow.in/domain/arno.isnow.in instead of arno.isnow.in and the link is off course not working anymore now.

I installed both patches, off course.
Thanks for getting into this!

greetings,
Martijn

Comments

agentrickard’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Run update.php -- there is a new 'valid' flag for each domain. If not set, you will be popped to the root domain.

sign’s picture

I installed beta7 on clean drupal 5.3
and have same problem. domain/url always points to root url

anyways thanks for this great module!

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Fixed

Yup. This is a bug. Missed something when cleaning up hook_domainload().

This is a one-line fix, no need for a patch.

domain.module, lines 475-

function domain_domainload(&$domain) {
  // Get the path to the home page for this domain.
  $domain['path'] = domain_get_path($domain);
  // Grant access to all affiliates.    
  $domain['site_grant'] = DOMAIN_SITE_GRANT;
}

Add this line:

function domain_domainload(&$domain) {
  // Get the path to the home page for this domain.
  $domain['path'] = domain_get_path($domain);
  // Grant access to all affiliates.    
  $domain['site_grant'] = DOMAIN_SITE_GRANT;
  return $domain;
}

Committed to HEAD. Thanks.

summit’s picture

Confirming that this little patch repairs the bug. Thanks!

greetings,
Martijn

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.