Pressflow or Mercury seems to confuse site caches on multi-site installations

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

Encountering a problem similar to http://groups.drupal.org/node/39456 but with a clarification.

I have a base install called mercury with only generic modules, configured to be sites/default. From there I create dev sites on either subdomains or subdirectories (strangely, the problem does not occur on wholly different TLDs as multisites). Pressflow confuses sites when accessing the dev subdomain, loads the theme and front page from default. When I go to site information it shows the vars from default, but when I hit save it restores the subdomain's vars. (With all panels and themes intact.)

When I go back to reload the default site it then displays a bunch of errors about panels not being there (it's only on my subdomain, not my default site), shows an unthemed page, and after reloading again, reverts to Garland. When I reload the subdomain, it is back to Garland and node as front page again.

Does anyone have any idea what could be causing this?

Comments

One more thing: clearing the

mathieuhelie's picture

One more thing: clearing the cache returns the site to its normal state, but reverts the other site to its error state.

Do you have a unique memcache

brianmercer's picture

Do you have a unique memcache key prefix set for each site in each settings.php?

$conf['memcache_key_prefix'] = 'someuniquekey';

Much better now. I imported a

mathieuhelie's picture

Much better now. I imported a different settings.php for my third dev site (the one on a different TLD) which is why I presume it did not suffer this problem.

I expected that turning off caching from within Drupal would stop memcache.

I have a similar issue with

mtbosworth's picture

I have a similar issue with pressflow. I have a single pressflow code base with a multisite configuration. Both sites are subdomains. Memcache is prefixed per subdomain. Here is the tricky part: I want to one instance to share content with the other. I've tried this with database prefixing, i.e. array(default = "database1.", othertable="database2."). This seems to work, but over time and with use content stops showing up.

What is the best way to share content between two sites in pressflow multisite configuration?

Mike Bosworth
Balanced Scale Media, LLC
balancedscale.com

Mercury

Group organizers

Group categories

Post Type

Group notifications

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

Hot content this week