Home › Forums › Quform WordPress › Conflict with Cookie Control and Cookie Law Info plugins
- This topic has 7 replies, 2 voices, and was last updated 7 years, 11 months ago by DavidRomano.
- AuthorPosts
- May 13, 2016 at 1:13 pm #18904DavidRomanoParticipant
Hi, I have tried installing both the Cookie Control and Cookie Law Info plugins (not simultaneously) but with both the site’s Quforms load then dissapear if viewed through Firefox and Chrome. This behaviour does not occur in IE.
The site uses W3 Total Cache and is delivered through Cloudflare.
Can you suggest a way to fix this as I do need a EU compliant cookie notice.
I don’t think this problem was present prior to Quform 1.7.8 but I’m not totally sure.
May 15, 2016 at 10:26 pm #18913AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
May 16, 2016 at 12:34 pm #18916DavidRomanoParticipantHi Ally,
I’ve spent the morning working through possible sources for this.
The plugin I was using is http://cookielawinfo.com/
I also get the same issue with this plugin https://silktide.com/tools/cookie-consent/
I’ve simplified the site by taking out W3 Total Cache which made no difference.
I’ve also turned off Cloudflare by using development mode – again no difference.
What I have found is that the problem is not present on a simple form https://bestitalianmortgage.com/contact-us/
However using a more complex form https://bestitalianmortgage.com/italian-mortgage-quote/ the form loads then disappears if either of the cookie plugins are enabled.
The problem does not occur in IE but only in Chrome and Firefox.
I haven’t yet found an error reported in the Firefox console.
The Firebug console also does not report an error
Rgds, David
- This reply was modified 7 years, 11 months ago by DavidRomano.
- This reply was modified 7 years, 11 months ago by DavidRomano.
May 16, 2016 at 5:38 pm #18919DavidRomanoParticipantHi Ally,
Still no report of an error in the Chrome console or in Firebug using Firefox.
However, I’ve also now tried the Cookie Notice plugin https://www.dfactory.eu/products/cookie-notice/ and it has the same behaviour.
It looks as though what is happening is that the page loads with the conditional logic Quform which then disappears from the page once the page has fully loaded. (This behaviour also exists if the form is loaded via Fancybox). Forms with no conditional logic do not seem to be affected.
With no cookie notice plugin enabled the page loads with the conditional logic Quform then appears to rapidly reload the form.
Interestingly everything works perfectly if viewed via an iPhone.
What I’ve been able to establish so far is:
1. This problem affects both of my websites that use Quform.
2. Removing W3 Total Cache and turning off Cloudflare made no difference.
3. I’ve tried 4 cookie notice plugins and all have the same issue.
4. No errors show on the Chrome console.
5. No errors show in Firebug.
6. Only Quforms with conditional logic are affected.
7. Quforms with condiditional logic appear to load twice (or just flash).
8. Only Firefox and Chrome are affected – IE is fine.
9. The behaviour is not restricted to a single computer – I’ve tried 3 different machines (Xeon, i7 and AMD) all with Windows 10 x64 and the behaviour is the same.
10. Site is running
php 7.0.1
MySQL 5.5.36
WP 4.5.2
GD image + FreeType + mbstring libs are availableCan you give me some further help to diagnose and fix the problem, please. Maybe I’m missing something obvious but it presently beats me,
David
- This reply was modified 7 years, 11 months ago by DavidRomano.
- This reply was modified 7 years, 11 months ago by DavidRomano.
May 17, 2016 at 9:41 am #18928DavidRomanoParticipantFollowing the discovery of a PHP level inconsistency with Quform (https://support.themecatcher.net/forums/topic/quform-captcha-module-incompatible-with-php-7-bug) I’ve just checked to see if there PHP issue was implicated in this issue but as far as I can see it is not the cause.
May 17, 2016 at 1:41 pm #18929DavidRomanoParticipantAlly, I’ve made a little more progress on diagnosing this problem.
With the Cookie Law Info plugin activated the start of the display box for the Quform form begins
<div id=”iphorm-outer-573b0da415a19″ class=”iphorm-outer iphorm-outer-3 iphorm-uniform-theme-default iphorm-theme-light-rounded iphorm-has-logic iphorm-responsive”>
With the Cookie Law Info plugin deactivated the start of the display box for the Quform form begins
<div id=”iphorm-outer-573b0e38e823a” class=”iphorm-outer iphorm-outer-3 iphorm-uniform-theme-default iphorm-theme-light-rounded iphorm-has-logic iphorm-responsive” style=”visibility: visible;”>
so it looks as though style=”visibility: visible;” is being stripped off the code somehow.
The results with Cookie Notice plugin are identical.
With this extra information can you suggest a fix – I will copy this post to the 2 cookie plugin authors.
D
May 17, 2016 at 8:57 pm #18935AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
May 18, 2016 at 10:20 am #18939DavidRomanoParticipantHi Ally,
I should have posted this yesterday evening when I got it working but I ran out of time, sorry.
The issue appears to originate from the Cloudflare Rocket Loader module. The problem does not occur when Rocket Loader is OFF or in MANUAL mode but does occur in AUTOMATIC mode.
Looking at the Rocket Loader documentation:
https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-
I should be able to exclude either Quform or the cookie plugin (or both) from Rocket Loader, but as Rocket Loader is only giving a 4% speed uplift I’m reluctant to mess with the script tags – I’d probably need to do this again after every plugin update.
Maybe this paramater is something that could be built in to a future Quform update, perhaps as a blanket Rocket Loader exclusion or as something switchable.
I still don’t understand why this issue is related to the combination of every cookie plugin that I’ve tried + Quform but as the combination now functions (with a small speed penalty) I’ll leave it for someone else to figure out. Maybe it’s obvious to you guys.
D
- AuthorPosts
- You must be logged in to reply to this topic.