• Resolved techtangerine

    (@techtangerine)


    I was getting an issue with WP-POLLS after the most recent Quick Cache update. Whenever I tried to view or use WP-POLLS, I would get the “failed to verify referrer” error, which is discussed on the plugin author’s website: http://lesterchan.net/wordpress/category/plugins/wp-polls/

    According to the plugin author:

    “-1″ or “Failed To Verify Referrer”
    This means that most likely you are using a caching plugin like W3 Total Cache (W3TC) and the Javascript being minified/combined and cached is outdated. Just empty the JS/CSS cache under the “Minify” section of W3TC in WP-Admin and W3TC will regenerate it again. This will solve the problem.

    So I emptied Quick cache. WP-POLLS then worked correctly once, but again started showing the same error.

    I contacted Lester Chan via email, and I got this reply:

    I am afraid WP-Polls will not work with QuickCache, since I don’t use it myself (I used W3TC), if it caches the whole page, it will cache the security token as well and hence you get a failed to verify referrer.

    You can try using PollDaddy which is purely JavaScript.

    Migrating poll data across different plugins is not as easy as it sounds. I may as well discontinue QuickCache.

    Is there any way QuickCache can fix the issue with minify?

    http://wordpress.org/plugins/quick-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WebSharks

    (@websharks)

    Quick Cache spits back out static HTML content from the cache, so dynamic portions of a page will be incompatible with Quick Cache.

    I suggest contacting the “WP-POLLS” plugin developer and pointing them to this page. Please ask them to check the FAQ tab, under the question: “I’m a plugin developer, how can I prevent certain pages from being cached.”.

    Reference: http://www.websharks-inc.com/product/quick-cache/

    See also: this issue at GitHub which is working toward a new/improved solution to this problem in a future release of Quick Cache.
    https://github.com/WebSharks/Quick-Cache/issues/56

    Thread Starter techtangerine

    (@techtangerine)

    Just got an email from the plugin author, and he says there is no way around it, as preventing the pages with polls from loading would defeat the purpose of caching.

    To quote,

    But having define QUICK_CACHE_ALLOWED or DONOTCACHEPAGE defeats the purpose of using a cache plugin because if I am going to add it into the plugin, any pages that includes wp-polls will not be cached and that is most people because the polls are normally in the sidebar and the sidebar is loaded on every page.

    Plugin Author WebSharks

    (@websharks)

    That is correct. Thank you.

    I don’t think Quick Cache is going to work on your site then. Dynamically generated content via PHP code which needs to REMAIN dynamic on every page of the site; would not be compatible with a page caching plugin.

    The only workarounds that I’m aware of are…

    – If you could pull this dynamic content out of the HTML and implement your polls via JavaScript; this would make your site cache-compatible. I doubt this will be a solution for you however; not unless the WP Polls plugin offers such an alternative?

    – Another option it to use inline cache exclusions with another caching plugin. Quick Cache currently does not support such a feature; but we are working toward this for a future release. Please see: https://github.com/WebSharks/Quick-Cache/issues/56

    Thread Starter techtangerine

    (@techtangerine)

    – Another option it to use inline cache exclusions with another caching plugin. Quick Cache currently does not support such a feature; but we are working toward this for a future release. Please see: https://github.com/WebSharks/Quick-Cache/issues/56

    Can you please give me a tentative date of when this feature will be active? Migrating poll data to a javascript based plugin is a lot of work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘INCOMPATIBILITY WITH WP-POLLS….PLS HELP’ is closed to new replies.