Closed (duplicate)
Project:
Memcache API and Integration
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2010 at 00:52 UTC
Updated:
2 Nov 2012 at 11:15 UTC
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
Comment #1
quade commentedI 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.
Comment #2
catchComment #3
catch#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.
Comment #4
ben soo commentedi'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.
Comment #5
pillarsdotnet commentedWhy 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.
Comment #6
catchWorks for me, let's close this as duplicate.
Comment #7
ben soo commentedagentrickard fixed it: http://drupal.org/node/1240472
Comment #8
henrikakselsen commentedThe original post fixed it for me. Thanks, webwriter!