I work on a Drupal distribution that includes memcache for deployment, it is recommended but not required.
The problem that I’m having is that Memcache module blocks the installation process with 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)
Our install profile does not install the memcache admin module. This happens as long as the memcache module files are found by Drupal when the install script runs, so the only way to complete the install (without having to set up memcache) is currently to delete the memcache module.
I think that was not what was intended with this check. It’s fine to check before allowing the module to be installed, but blocking the entire installation process is just counter-productive.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | memcache-6.x-1.x-1295076267.patch | 2.21 KB | hswong3i |
Comments
Comment #1
wiifmThis is exactly the issue I am having. Error on the install.php page
Hopefully a fix is out there for this (that can void the temporary removal of the memcache module)
Using drupal 6.20, memcache module 1.7 on Ubuntu 10.10
Thanks
Sean
Comment #2
hswong3i commentedAs refer to memcache CVS HEAD for Drupal 7.x, no memcache_admin.install exists and so all running smooth without any problem (http://drupalcode.org/viewvc/drupal/contributions/modules/memcache/memca...). It is working fine with my Drupal 7.x installation profile development.
I would like to suggest "remove" the memcache_admin.install in order to solve this problem. Any idea?
Comment #3
hswong3i commentedI clone the similar checking style from getid3 and colorbox, so update the test case only for
$phase == 'runtime'.Patch via memcache DRUPAL-6--1 CVS, and successfully pass the installation profile checking.
Comment #4
hswong3i commentedComment #5
hswong3i commentedComment #6
hswong3i commentedThis issue is still exists within lastest memcache-6.x-1.8 and so block the integration with our PantaRei Siren installation profile (http://drupal.org/project/pantarei_siren). Therefore we need to maintain the synchronize of patch from #3 manually.
May someone provide a kindly review of this issue so we can get fixed within official version?
Comment #7
hctomI currently applied the patch against the 6.x-1.8 version and all reported problems vanished. So I guess we can live with the fact, that the checking is done only during runtime and not during install as the Memcache admin module only provides information about memcache and does not really require a memcache server to work.
Hope to see this in an official release soon, as this is really a big problem for install profiles.
Cheers
hctom
Comment #8
catchThanks! Committed this to latest dev.
Comment #9
catchNo memcache install in 7.x.