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

catch’s picture

Title: Error on ajax calls when memcache is on » Error on ajax calls when memcache statistics are displayed
Version: 7.x-1.0-rc3 » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Please try updating to the latest stable release, this may already have been fixed.

michiellucas’s picture

Updated to latest release and error is still there

catch’s picture

Component: Code » memcache_admin
Status: Postponed (maintainer needs more info) » Active
michiellucas’s picture

Status: Active » Closed (fixed)

Fixed

$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

Rosamunda’s picture

Status: Active » Closed (fixed)

I´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!

Rosamunda’s picture

Status: Closed (fixed) » Active

Forgot to open this again.

Rosamunda’s picture

Status: Closed (fixed) » Active

I´m sorry, I thought that reopening would be better, should I open a new issue?

Rosamunda’s picture

Bump?

markpavlitski’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

@Rosamunda Please can you confirm if you have this line in your settings.php:

$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';

This was the suggested fix from the OP.

Rosamunda’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ops! Nope, I don´t have that line!
Adding that worked like a charm!
BIG THANKS!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.