Download & Extend

Compatibility for Authcache, Memcache, CacheRouter, etc.

Project:AJAX Comments
Version:6.x-1.8
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Does this module work with authcache?

http://drupal.org/project/authcache

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

Comments

#1

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

#2

Well when a page is cached I get this error:

an error occurred. /ajax_comments/js

#3

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

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

#5

you are not alone ...

http://drupal.org/node/412368

#6

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

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

#8

Patch work for me on site with memcache.

#9

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

thank you Jonah

#10

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

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

#12

Status:needs review» fixed

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

#13

Status:fixed» closed (fixed)

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

#14

How to patch this???????

#15

Version:6.x-1.x-dev» 6.x-1.8
Category:task» bug report
Status:closed (fixed)» needs work

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

I use 1.8 and bug is still there. I applyed patch from #6 and it solved the problem.
I don't have any problems nither with publishing comment nor with deleting them.

Using authcache + cacherouter.

#16

Status:needs work» fixed

The commit was made to -dev, and it seems to work for me. Please move to -dev if you have a need for this or wait for a 1.9 release.

#17

I use memcache with authcache
since I have actived memcache, I have no errors but the page is not refreshed
the comment is good send but I must do F5 to see it
I have patched the module
without memcache enabled I don't have this problem

#18

Status:fixed» closed (fixed)

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

nobody click here