When we enable memcache none of our ajax calls seems to work.
Fivestar rating error:
n AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: OK
ResponseText: Memcache statistics
OperationBinKeyHit
setcache_bootstrapcache_bootstrap-variables
setcache_bootstrapcache_bootstrap-bootstrap_modules
setcache_bootstrapcache_bootstrap-system_list
setcache_bootstrapcache_bootstrap-hook_info
setcache_menucache_menu-menu_item%3A3ebbcadd4265affa4f2b18edbf1a8aae050b396bcf4a43acaf9070f6da22a1d6
getMulticachecache-.wildcard-context0
setcachecache-context
getMulticachecache-.wildcard-ctools_plugin_type_i0
setcachecache-ctools_plugin_type_info
getMulticachecache-.wildcard-ctools_plugin_files%3A0
setcachecache-ctools_plugin_files%3Acontext%3Aplugins
getMulticachecache-.wildcard-plugins%3Acontext0
setcachecache-plugins%3Acontext%3Aplugins
setcache_bootstrapcache_bootstrap-system_list
setcachecache-schema
setcachecache-context
setcachecache-context
setcachecache-context
setcachecache-context
setcachecache-context
setcachecache-ctools_plugin_files%3Actools%3Acontent_types
setcachecache-ctools_plugin_files%3Apanels%3Alayouts
setcachecache-ctools_plugin_files%3Apanels%3Astyles
getMulticachecache-.wildcard-node_types%3A0
setcachecache-node_types%3Aen
getMulticachecache-.wildcard-entity_info%3A0
setcachecache-entity_info%3Aen
setcache_fieldcache_field-field_info_types%3Aen
setcache_fieldcache_field-field_info_fields
getMulticachecache-.wildcard-entity_prope0
getMulticachecache-.wildcard-entity_property_info%3A0
setcachecache-entity_property_info%3Aen
setcache_viewscache_views-views_data%3Aen
setcachecache-ctools_plugin_files%3Apage_manager%3Atasks
getMulticachecache-.wildcard-theme_registry0
setcachecache-theme_registry%3Abuild%3Amodules
setcachecache-theme_registry%3Aleonardoenergy
Comments
Comment #1
catchPlease try updating to the latest stable release, this may already have been fixed.
Comment #2
michiellucas commentedUpdated to latest release and error is still there
Comment #3
catchComment #4
michiellucas commentedFixed
$conf = array(
'cache_default_class' => 'MemCacheDrupal',
'memcache_servers' => array('217.21.185.101:11211' => 'cluster', ' 217.21.185.100:11211' => 'cluster'),
'memcache_bins' => array('cache' => 'default'),
'cache_class_cache_form' => 'DrupalDatabaseCache'
);
'cache_class_cache_form' => 'DrupalDatabaseCache' -> forgot this
Comment #5
Rosamunda commentedI´m sorry, but I have the same issue (Error on ajax calls when memcache is on) and I´ve just downloaded the latest dev version.
Is the fix already uploaded?
If not, whare does the sample code that you just posted belongs to? Which file?
Or should I just add that to the settings.php file?
Thanks for your help!
Comment #6
Rosamunda commentedForgot to open this again.
Comment #7
Rosamunda commentedI´m sorry, I thought that reopening would be better, should I open a new issue?
Comment #8
Rosamunda commentedBump?
Comment #9
markpavlitski commented@Rosamunda Please can you confirm if you have this line in your settings.php:
This was the suggested fix from the OP.
Comment #10
Rosamunda commentedOps! Nope, I don´t have that line!
Adding that worked like a charm!
BIG THANKS!