Closed (duplicate)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
memcache_admin
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2014 at 18:10 UTC
Updated:
17 Jan 2017 at 17:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
liam morlandComment #2
jeremy commentedWhat version of the Drupal memcache module are you using? It sounds like you may be on the much outdated 7.x-1.0 release? You should see the proper warning with the latest release.
Comment #3
liam morlandI am using 7.x-1.3-rc1. Where should I be seeing the error?
PECL memcache 3.0.5 is installed. The problem is that it is too old, not that it is absent.
In any case, I think the statistics page should show a warning because it shows the PECL version number. If it shows the version number, it should warn about versions that are too old.
Comment #4
liam morlandOK, I see what is happening. dmemcache.inc isn't loaded so it never gets to the version check. I think it should do the version check anyway so that all the issues are identified at once.
Comment #5
jeremy commentedHow have you configured things that dmemcace isn't being loaded? There's a variety of misconfigurations that can lead to ugly warnings/errors if we try and do too much when we know things are misconfigured (in your case it seems you've not added the necessary cache_backends configuration to settings.php). We try and minimize the risk of an improper configuration breaking a website.
Comment #6
liam morlandThanks. I had a closer look at the code. Here is a patch that displays more warnings in case of config problems and refers people to the report on the status page.
Comment #7
liam morlandImproved version uses module_load_install() instead of module_load_include().
Comment #8
liam morlandComment #9
jeremy commentedWe've recently added quite a bit more debug logging.