Domain Module issues

Events happening in the community are now at Drupal community events on www.drupal.org.
barwonhack's picture

I'm having some issues with the D7 Domain module. Not necessarily specific to BOA (maybe also evident in just plain old vanilla Aegir).

Firstly, when I create a new site in Aegir, it needs to be created in a D7 platform that does not have the Domain Module installed. I then migrate this site to a different platform that does have the Domain Module.

Secondly, The Expire Module doesn't seem to play nice with the Domain Module:
- Fatal error: Call to undefined function db_fetch_array() in /data/disk/octopusname/static/platformname/sites/all/modules/expire/expire.domain.inc on line 15
AND (when Expire is disabled)
- Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /data/all/002/o_contrib_seven/expire/expire.module on line 700 and defined in db_query() (line 2313 of /data/disk/octopusname/static/platformname/includes/database/database.inc).

Re this second issue, the custom platform has its own versions of Expire and Purge installed. I'm not sure if this is the cause issue, or because some kinda "hot sauce" behind-the-scenes magic is at play.

I notice that disabling these modules remedies the issue, but they are reneabled. Deleting them seems to see them reinstated.

I guess that there is something I need to do to isolate the custom platforms, or perhaps I should not be including Purge and Expire modules in my make file? Again, the issue is specific to sites that utilise the Domain module.

Comments

yep, I second that to

niccolox's picture

yep, I second that

to migrate, I to a Backup and Migrate to download file
delete the Domain module
migrate
reinstall the Domain module
restore from Backup and Migrate file

also, I am using Open

niccolox's picture

also, I am using Open Outreach Beta 8 as a custom platform, using Domain Access etc

so I was able to un-install Purge and Expire and then delete them, gone, no more

so, Aegir BOA will display them in the Modules list as forced enabled but they cant throw bugs or do their Purge / Expire goodness

thats life in the D7 Big City I suppose

No issue for me on migrate ...

barwonhack's picture

... only create new site.

Oh an Expire Module issue resolved (kinda) by configuring it to only expire one domain, not all. I have both latest versions of Expire and Purge in my custom platform.

Could you post this in the

omega8cc's picture

Could you post this in the Octopus issue queue? While many D7 related issues with Purge/Expire have been fixed in the BOA head, we may need to disable it on the fly when Domain module is present.

Besides, we are considering removing Expire/Purge from D7 completely, as it is no longer required (I think) after we lowered default Speed Booster cache TTL to just 5 minutes (in BOA head).

Sure

barwonhack's picture

WIll do that shortly.

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week