-
AuthorPosts
-
September 2, 2019 at 12:54 pm #1132956
cookie consent message buttons and link to privacy page do not work properly after update to 4.6.
1. link to set privacy page DO NOT LINK
2. Cookie Consent Bar – REAPPEARS on every page after accepting
3. Cookie Consent Bar – does NOT Reappear if clicking “refuse cookies”
4. e.g.Google Map DO NOT SHOW up after reactivate the disabled Google Map Setting
5. same after clear the cache, delete all cookies and start from beginning
6. same in Safari, Chrome, Firefox, Vivaldi, Brave…
7. displaying a custom modal window content is NOT WORKING
8. the default content is set to uncheck the essential cookies
9. the default content is set to uncheck the option of permanent hiding and refuse all cookies if not opt IN
10. I want to enable all cookies by default (many users do not click and read and think about it) – so I have no chance by now!
11. I even can’t deactivate the cookie consent bar because of the DSGVO / GDPR
## PLEASE SOLVE THE PROBLEMSeptember 2, 2019 at 2:30 pm #1133000Hi there,
I have the same problem : Cookie Consent Bar – REAPPEARS on every page after accepting + Google Map does not show up anymore.
Best
Lex- This reply was modified 5 years, 3 months ago by Lexa_Dryke.
September 4, 2019 at 9:29 am #1133713Hi Enfold Team,
An answer as : “yes we know about it and we are working on it would be appreciated”
Best
LexSeptember 4, 2019 at 9:46 am #1133722Hi there again,
Since my last message, I read here (https://kriesi.at/support/topic/update-4-6-makes-cookie-consent-reload-every-time/) that you need need logins to see the issu. Here’s one in private content.
Hope it helps.
Best
LexSeptember 5, 2019 at 10:14 am #1134273Hi,
@msh
Thank you for contacting us.
I checked your site and the issue you mentioned seem to be resolved :) I have attached the screenshots of working cookie and map elements. Please make sure to clear your browser cache.
Let us know if you still have any issue.
@lexa_dryke please refer to this ticket https://kriesi.at/support/topic/4-6-update-doesnt-recognize-old-custom-css-class/#post-1133483
Best regards,
VinaySeptember 5, 2019 at 11:15 am #1134318@Vinay – nothing is resolved – I only chose the minimal worst thing like the default (without linking to the privacy page)
# I need to use the custom modal window content – but this is NOT WORKING
# I need to enable all cookies by default – but I have no chance with the default settings by now!
# I cannot “resolve” the problem by deactivate the consense because of the DSGVO / GDPR
for now I had to choose the default thing (“select all by default – user can opt out”- but cookie consent DO SHOW UP on new pages!) …
BUT then, the buttons “Check to enable permanent hiding…” and “click to enable/disable essential cookies” are both DISABLED – thats the wrong default!!!
# link to set privacy page DO NOT LINK – therefore I actually do not use it for now.
# Cookie Consent Bar – REAPPEARS on every page after accepting – when use default AND when use custom content!
# Cookie Consent Bar – does NOT Reappear if clicking “refuse cookies” – THAT IS WRONG DEFAULT
# e.g. Google Map DO NOT SHOW UP AFTER REACTIVATE the disabled Google Map Setting
# same after clear the cache, delete all cookies and start from beginning
# same in Safari, Chrome, Firefox, Vivaldi, Brave…
# the default content is set to uncheck the essential cookies
# the default content is set to uncheck the option of permanent hiding and refuse all cookies if not opt IN
# when set default cookie consent, unchecking reCAPTCHA does not work!## PLEASE SOLVE THE PROBLEM
September 6, 2019 at 7:51 am #1134781Hi,
Sorry for the problem. We released a new version of the theme just a few hours ago which should hopefully solve this problem. Could you try updating the theme to the latest version (4.6.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
RikardSeptember 6, 2019 at 8:47 am #1134805Hi Rickard,
Thank you for the information. I’ve uploaded 4.6.1.
Unfortunately, the only significant improvement in my case is that the consent bar no longer appears on all pages after making a choice. But I’m not sure it works better for the rest: the google map no longer appears whatever the choice you make and the acceptance of cookies is not taken into account… In conclusion: in my point of view, still a big mess. My 10 other enfold website will still stay for the moment with 4.5.7…
Best
Lex
September 6, 2019 at 3:35 pm #1134963@Rikard
# link to set privacy page DO NOT LINK
when I klick on this link the consent message is closing while accepting the Cookies (but I did not accept…)
this “Link-button” has the same function as accepting cookies
…September 9, 2019 at 1:28 pm #1135991Hi,
Sorry for this.
I fixed the bug in oncoming 4.6.2 – will be released soon.
Can you wait or do you want to update the file on your site. It’s 3 lines of code:
In file enfold\includes\helper-privacy.php around line 1579:
case 'info_modal': $btn_class .= ' avia-cookie-info-btn '; break; case '':
replace with:
case 'info_modal': $btn_class .= ' avia-cookie-info-btn '; break; case 'link': $btn_class .= ' avia-cookie-link-btn '; break; case '':
Do not forget to make a backup of the original file for a fallback, clear server and browser cache.
If you need assistance let us know so we can do it for you. Please also provide ftp access and make sure our WP account has admin rights and can edit theme files.
Best regards,
GünterSeptember 9, 2019 at 1:55 pm #1136002Hi Günter,
Are you sure of the file & the amend?
I have 4.6.1 installed and can’t find anything like that code in that file.
Thanks
SteveSeptember 9, 2019 at 3:50 pm #1136081Hi,
The file is correct – but it has moved. In our github repo for 4.6.1 it is around line 1555.
Can you look for function msg_bar_button_html.
A few lines below there is a switch statement including the code above.
Best regards,
GünterSeptember 9, 2019 at 3:57 pm #1136087Perfect, thank you – that’s fixed the ‘Privacy Policy’ link issue.
Not sure why I couldn’t find it earlier, I was searching for bits of the code – probably got the wrong file open myself!The Cookie notice behaves perfectly in incognito mode but appears on each page load when viewing the site whilst logged into admin, is this something that’s likely sorted in 4.6.2?
Thank you Günter
September 9, 2019 at 4:30 pm #1136113Hi,
Thanks for feedback and it solved the problem.
Did you accept cookies as admin in frontend ?
As long as you do not accept you are treated as a new visitor on every pageload.
Best regards,
GünterSeptember 9, 2019 at 5:03 pm #1136132Hi,
I did accept cookies on the frontend whilst logged into the backend as admin. But it still shows the message on each page load.
Thanks
SteveSeptember 10, 2019 at 2:03 pm #1136542Hi,
Thanks – this is caused because of missing cookies which are new since 4.6. You probably already accepted cookies in 4.5.7. This is a bug.
I added a fix for this in the next update.
A quick workaround would be to add a button with action “Do not accept and hide message bar” to the message bar, click this button, then open the modal window, check your settings and accept.
To fix it in core:
In file enfold\includes\helper-privacy.php around line 1366:
$cookie_contents = md5( $cookie_contents );
replace with:
$cookie_contents = md5( $cookie_contents ) . '||v1.0';
Around line 228:
$option = $this->get_cookie_consent_message_bar_option(); if( in_array( $option, array( 'message_bar', 'disabled' ) ) ) { return; }
Below this insert:
$cookie_accepted = isset( $_COOKIE['aviaCookieConsent'] ); $cookie_allow_hide_bar = isset( $_COOKIE['aviaPrivacyRefuseCookiesHideBar'] ); $cookie_essential_enabled = isset( $_COOKIE['aviaPrivacyEssentialCookiesEnabled'] ); /** * Check if we updated * '||v1.0' from <= 4.5.7 to 4.6.2 */ if( $cookie_accepted && ! ( $cookie_allow_hide_bar && $cookie_essential_enabled ) ) { /** * If user already accepted cookie we add our essential cookies so user can continue to use site without need to opt in for these explicit */ $cookie_accepted_value = $_COOKIE['aviaCookieConsent']; $sep = strrpos( $cookie_accepted_value, '||v' ); if( false === $sep ) { setcookie( 'aviaPrivacyRefuseCookiesHideBar', true, time() + YEAR_IN_SECONDS, '/' ); setcookie( 'aviaPrivacyEssentialCookiesEnabled', true, time() + YEAR_IN_SECONDS, '/' ); } }
I hope Kriesi will release 4.6.2 soon.
Do not forget to make a backup of the original file for a fallback, clear server and browser cache.
Best regards,
GünterSeptember 11, 2019 at 12:36 pm #1137002Thanks Günter,
I deleted the cookie and logged back into admin, it all behaves perfectly now.
As I’m the only admin on this particular site I think I understand that I would be the only person affected by this so will look forward to the update.
Thanks for your helpSeptember 11, 2019 at 12:52 pm #1137005Hi,
You’re welcome.
4.6.2 is released already.
Enjoy the theme, have a nice day and feel free to come back when you need further assistance.
Best regards,
GünterSeptember 11, 2019 at 3:26 pm #1137075Hi Günter,
Everything’s fine for me since 4.6.2 and cookies consent.
Thx to the team.
Best
LexSeptember 11, 2019 at 3:34 pm #1137079I am still having the problem on 2 sites.
newgasmet.eu and servitize.dkRegards,
Chrilles
September 11, 2019 at 4:29 pm #1137095Hi,
Glad everything is fine for you now. Enjoy the theme.
Could you try to disable CSS and js merging, safe theme options and check? Also did you clear server cache ?
Best regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.