Closed (works as designed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
21 May 2013 at 17:42 UTC
Updated:
8 Sep 2017 at 10:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedPatch attached.
Comment #2
markpavlitski commented@morningtime Please can you explain what you mean when you say 'However, the MemCacheDrupal is not loaded'? Do you receive any errors or warnings with your current setup?
Although the patch in #1 won't hurt, the recommendation is to not enable the memcache module, so the change will mostly be ignored.
Unfortunately the change is also not enough to autoload the class, so the $conf setting will still be required:
Comment #3
Anonymous (not verified) commented@#2 I think you misunderstood.
Of course the $conf lines are requried. But if you never actually load the memcache.inc anywhere, how is it supposed to work?
Without it, you get:
Fatal error: Class 'MemCacheDrupal' not found in /includes/cache.inc on line 31On all pages. Pretty major I would say?
Either you must use include_once() or my patch.
Yes I have the memcache extension enabled for checking updates.
Comment #4
markpavlitski commentedThe file is loaded by Drupal during the bootstrap process.
See _drupal_bootstrap_page_cache().
Please can you post your entire settings.php if you are still experiencing the issue?
Comment #5
jeremy commentedMarking as a support request; waiting for feedback.
Comment #6
markpavlitski commentedNo activity for 2 weeks. Marking as closed.