This is just for anyone else who might have the same problem.

I have Domain Access installed and when I tried to turn on Memcache Admin, I kept getting this error:

Memcache admin requires that the "cache_inc" $conf variable be set to include either memcache.inc or memcache.db.inc. Please read the installation instructions. (Currently using Memcache admin Memcache not included)

After playing with it for a while, I moved the $conf variable ABOVE the domain access settings.inc line and it finally worked.

HTH

Comments

quade’s picture

I had the same problem, and your solution worked for me. It looks like it has to do with some of the initial domain-related settings happening in early bootstrap try to use cache. With that conf variable not set yet, Drupal gets confused about where cache actually is.

catch’s picture

Title: Memcache and Domain Access » Document Memcache and Domain Access settings.php issues
Version: 6.x-1.5-rc1 » 6.x-1.x-dev
Category: support » task
catch’s picture

#1030338: D7 Domain Access module doesn't work with Memcache module is marked as duplicate.

At least one person on that issue claims this didn't work for them - however before looking into that, we need a proper example of how this should look - this could go under the memcache documentation at http://drupal.org/node/1131458 which even has a troubleshooting section. I don't use domain access so hoping someone who either solved this problem for themselves or is trying to solve it could take a stab at that.

ben soo’s picture

i'm at least one of the people this doesn't work for: i'm using Drupal 7 tho.

Just updated all my modules and the core to 7.7. This still doesn't work for me: i get this error:

Domain access failed to load during phase: 2. Please check your settings.php file and site configuration.

pillarsdotnet’s picture

Why is this issue in the Memcache queue instead of in the Domain Access queue? Since Domain Access is the module that breaks when its modifications to settings.php are inserted in the wrong place, Domain Access should document its own requirements.

See #1237180: The Domain Access settings.inc file must be included before any D7 caching module in the site settings.php file.

catch’s picture

Status: Active » Closed (duplicate)

Works for me, let's close this as duplicate.

ben soo’s picture

agentrickard fixed it: http://drupal.org/node/1240472

henrikakselsen’s picture

The original post fixed it for me. Thanks, webwriter!