Closed (fixed)
Project:
Mollom
Version:
6.x-1.12
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
27 Feb 2010 at 15:38 UTC
Updated:
2 Jun 2011 at 14:41 UTC
Recent Mollom support issues for sites running with Pressflow, Akamai, Varnish, or other external proxy/cache systems indicated that form submissions could not be completed due to missing Mollom session information. It is not sure yet whether the Mollom module is guilty here at all, or whether it is a configuration problem with those external systems.
Some initial background information:
Regarding page caching, users having issues with such external systems may want to try to move:
function mollom_pre_render_mollom($element) {
...
// Prevent the page cache from storing a form containing a CAPTCHA element.
$GLOBALS['conf']['cache'] = CACHE_DISABLED;
}
to the end of mollom_process_mollom().
Comments
Comment #1
c960657 commentedSee also #775398: Disabled cookies == no session data, impossible to submit a protected form.
Comment #2
sunNot sure what to do with this issue, as there is no concrete task at hand, just documentation we may want to add to mollom.api.php, or, somewhere more appropriate.
Comment #3
dries commentedI think this issue was /fixed/ by not caching Mollom protected pages.
We might need to set additional HTTP headers but I believe that is taken care of by the above line of code.
Comment #4
neclimdulI don't know if there's still a documentation follow up but the additional headers(for Pressflow) have been added so this is probably done.
Comment #5
sunRight. The only documentation we'd be able to write would be "Mollom requires external proxy/cache systems to respect standard HTTP cache headers." -- which is not really something Mollom should have to document in the first place.
That said, there has been at least one report of an external CDN that does not respect standard HTTP headers and only a custom cookie in #1142686: Handle Mollom session via javascript like ReCAPTCHA does. However, not really much we can do about that.
Therefore, marking this issue as resolved.
Comment #6
sreyas commentedHello Everyone,
We have Pressflow + Varnish running on our website http://www.urltrim.com
Varnish status seems to good
The problem we are having is with mollom. Whenever a user try to submit a comment, the text analysis comes into play and gives this error
Its not even showing the image captcha. Could anyone please review it in our site and let me know what need to be changed here.
Comment #7
sreyas commentedhey just tried new varnish release dated yesterday and seems to working pretty fine now. I had varnish and expire module running. So it was not related to mollom but the varnish options.
Comment #8
sun@sreyas: That's valuable information. From which old version did you update? And to which version did you update?