• I have installed “really simple captcha” plugin to be used with contact form 7. It was working fine until I installed ZenCache plugin for my wordpress site.
    I think it is also creating a cache for forms, that’s why I’m getting 404 error, or the same image is getting repeated, instead of a new image every time page is refreshed.

    https://www.ads-software.com/plugins/zencache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have problems with this also and it would be great to have a solution for any captcha plugin exception only.

    The problem I am getting is that an image, once one post has been made, is not being regenerated, due to the caching intervention.

    Tried to add exceptions but quite as documented any of those disable caching for everything, not just the captcha plugin.

    Thanks

    Plugin Author Raam Dev

    (@raamdev)

    If the caching plugin is not using JavaScript to display any dynamic data, then the plugin developer will need to add define('DONOTCACHEPAGE', true); to any page where the captcha is displayed. That will make the captcha plugin compatible with all WordPress caching plugins.

    However, if the captcha plugin is using JavaScript to display any dynamic data (such as the image that gets refreshed), then there should be no issue with WordPress page-caching plugins such as ZenCache, as JavaScript runs on the client-side and not on the server-side (which is where ZenCache runs).

    If you have ZenCache Pro, you can use the URI Exclusion Patterns feature to specify the URI to the page where your captcha plugin exists to prevent that specific page from being cached. (You can also preview this feature by clicking the ‘Preview Pro Features’ link at the top-right of the plugin options page and navigating to ZenCache → Plugin Options → URI Exclusion Patterns.)

    Hi,

    I’m looking at using Zen Cache but like others here I also have the ‘Really Simple CAPTCHA’ plugin that goes with the popular ‘Contact Form 7’ plugin.

    Can you clarify whether your Zen Cache Lite conflicts with these incredibly popular (and I believe well coded) plugins or not? as it’s unclear from your reply.

    Many thanks.

    Plugin Author Raam Dev

    (@raamdev)

    @5high There is no conflict that I know of between ZenCache and “Really Simple CAPTCHA” or “Contact Form 7”.

    My reply above simply indicated that if those plugins are generating something on a page that must remain fully dynamic (such as the CAPTCHA) and if the plugin is not using JavaScript to output the dynamic portion of the plugin, you’ll simply need to exclude from ZenCache the specific page where that plugin’s output is appearing. This can be done quite simply using the ZenCache URI Exclusion Patterns.

    Plugin Author Raam Dev

    (@raamdev)

    FYI, I have opened two new GitHub Issues so that we can do some proper investigation regarding ZenCache compatibility with Contact Form 7 and Really Simple CAPTCHA:

    https://github.com/websharks/zencache/issues/499
    https://github.com/websharks/zencache/issues/500

    Thanks heaps – will review my Zen settings anyway.

    I am having the same issue. Looking forward to fix. It all was working.

    For the contact form I use: Contact Form 7 Version 4.2 matched with Really Simple CAPTCHA Version 1.8.0.1.

    It stopped working and I was getting a validation error. I think the issue is that the CAPTCHA image is being cached – hence the validation error.

    I’ve got the contact form working again:
    https://www.bajanthings.com/contact-burts/

    To do this I have deactivated:
    * WP Edit – Version 3.2
    * WP Retina 2x – Version 3.3.6 (Other forums suggested Retina 2 was the issue but deactivating them didn’t fix my Contact7 problem)
    * ZenCache Version 150409

    It all used to work. The only addition in recent weeks was the addition of WP Edit & WP Retina 2x which were recommended installs by the Weaver Xtreme template designers. So they were the first things I deactivated.

    ZenCache and its predecessor have been running since the site was set up and used to work. Seem its a recent update that has changed someting.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘captcha not working in the contact form 7, while the cache is enabled’ is closed to new replies.