Compatibility for Authcache, Memcache, CacheRouter, etc.

Flying Drupalist - March 8, 2009 - 20:29
Project:AJAX Comments
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:critical
Assigned:Unassigned
Status:closed
Description

Does this module work with authcache?

http://drupal.org/project/authcache

Thanks, I would like to know this before trying to install it.

#1

neochief - March 8, 2009 - 22:53

Well, I didn't ever used it, so you may try yourself.

#2

Flying Drupalist - April 22, 2009 - 17:15

Well when a page is cached I get this error:

an error occurred. /ajax_comments/js

#3

pixelpreview - August 5, 2009 - 19:20

do you try to set the path in authcache settings like this

*/ajax_comments/*
ajax_comments/js*

I have a lot of ajax modules and authcache and this solution works for quicktabs, exposed filters in ajax (views) ...

#4

stephencarr - August 8, 2009 - 11:15

Unfortunately this does not work. I am having the same error.

#5

pixelpreview - August 8, 2009 - 18:49

you are not alone ...

http://drupal.org/node/412368

#6

Jonah Ellison - August 30, 2009 - 17:43
Title:Support for Authcache» Compatibility for Authcache, Memcache, CacheRouter, etc.
Category:support request» task
Priority:normal» critical
Status:active» patch (to be ported)

AJAX Comments implements custom caching functions that interact with Drupal core caching tables. Some sites may use third-party caching systems, however, such as CacheRouter and Memcache. This patch has two fixes:

  • Adds compatibility for third-party caching systems by detecting if $conf['cache_inc'] is defined, then calling cache_get instead of interacting with Drupal core database tables.
  • Adds support for caching modules that do not cache forms in the caching system by building the comment form on Ajax submit (e.g., the Authcache module).
AttachmentSize
ajax_comments.module.caching.patch 3.63 KB
ajax_comments.module.test 13.86 KB

#7

neochief - August 30, 2009 - 17:55

wow, this patch can be really handy. Can someone test it?

#8

dicreat - September 1, 2009 - 11:46

Patch work for me on site with memcache.

#9

pixelpreview - September 14, 2009 - 09:04

I confirm, it works with authcache module actived on my site.

thank you Jonah

#10

Manuel Garcia - September 4, 2009 - 12:00
Status:patch (to be ported)» needs review

Subscribing, this issue seems to be related to #353607: Mollom support

Changing the status to needs review, although the patch seems to be working already.

#11

anomalist - October 27, 2009 - 09:47

This patch works for version 1.8, but I cannot delete comments

#12

neochief - October 27, 2009 - 14:31
Status:needs review» fixed

For 1.8 you should not apply the patch, as it's already there.

#13

System Message - November 10, 2009 - 14:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.