Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1230679

    Hi there guys.
    I have a massive problem on my website. Every time somebody accepts the cookie consent message, the website stops working and turns white.
    Running the last version of Enfold.
    Can you please help me?

    • This topic was modified 4 years, 4 months ago by Cdfb.
    #1231178

    Hey Carolina,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1231196

    Sure thing!

    #1231313

    Hi Cdfb,

    Please disable the Quick Redirects plugin and see if the issue gets resolved.

    Best regards,
    Victoria

    #1233768

    I have the same problem having turned on the cookie notice bar at the bottom of the screen.

    I am not using the Quick Redirects plugin.

    I have tried using the advanced option to force a page reload after a button is clicked but this doesn’t do anything.

    Please advise as we are not compliant with GDPR without this notification bar working.

    #1233916

    Hi there. I did disable the Quick Redirects plugin and the problem persists. This is super annoying.

    #1234328

    Hi,

    Sorry for the troubles. We got locked out of the dashboard by Wordfence while checking the cookie consent. Please disable the security plugin temporarily so that we can check the issue properly.

    Your access to this site has been temporarily limited by the site owner

    Your access to this service has been temporarily limited. Please try again in a few minutes. (HTTP response code 503)

    If you think you have been blocked in error, contact the owner of this site for assistance.

    Best regards,
    Ismael

    #1234373

    In the meantime, as I also don’t have Wordfence on my site, you can take a look at the problem there if you like. Login info in previous comment.

    #1235038

    Hi,

    Thank you for the update.

    We can reproduce the issue on your installation, but we are not yet sure what’s causing it. Please try to edit the enfold\js\avia-snippet-cookieconsent.js file, look for this code around line 142..

    location.reload(true);
    

    .., then replace it with..

    setTimeout(function () {
        location.reload(true);
    }, 10);
    

    After doing the modification, please toggle the Performance > File Compression settings, then test the privacy options again. You may need to delete the cookies from the browser’s local storage.

    Best regards,
    Ismael

    #1235078

    I tried doing this.

    I found two instances of

    location.reload(true);

    neither of which was around line 142. So I edited the first one.which was immediately preceded by

    aviaSetCookieToggles( 'set' );
    					
    					if( $_html.hasClass( 'avia-cookie-reload-accept' ) )
    					{
    						if( reload_tooltip.length > 0 )
    						{
    							reload_tooltip.closest( '.avia-privacy-reload-tooltip-link-container' ).addClass( 'av-display-tooltip' );
    							reload_tooltip.trigger( 'click' );
    						}

    I then went to Performance and file compression and turned both CSS and JS on, saved then went in and turned them off again. I turned on my cookie notification bar again and cleared the browser of the cookies.

    When I tested, the cookie bar displayed, but when I clicked on the OK button, the screen still went blank. This time though when I pressed F5 to refresh the screen, instead of getting the page with the cookie bar again, I got the page but with a whole extra bit at the bottom about cookies
    Screenshot of Cookie Message

    #1235692

    Hi,

    Thank you for the info.

    According to one of our developers, the issue might be server related but we are not sure yet. We may need to edit files in the theme in order to debug the issue properly.


    @sylvia5113
    : You may need to create a new post and provide the login details in the private field there for security reasons. Information in the private field is also visible for OP.

    Best regards,
    Ismael

    #1235780

    New post here:

    New post

    • This reply was modified 4 years, 3 months ago by sylvia5113.
    #1236482

    Hi guys. The problem persist.

    #1236568

    Hi!

    Sorry for the delay. We may need to access the file server in order to debug the issue properly. Please include the FTP details in the private field so that we can enable the debug mode and edit the files when necessary.

    Regards,
    Ismael

    #1240519

    Hi there. Honestly it has been too much of a hazel. I used an external plugin as this function doesn’t seem to work right on Enfold…

    #1240822

    Hi,

    Thanks for the update. Please let us know if you should need any further help on this topic.

    Best regards,
    Rikard

    #1240896
    This reply has been marked as private.
    #1241426

    Hi sylvia5113,

    Sorry for the inconvenience. We will close this thread.

    If you need further assistance please let us know in a new thread.
    Best regards,
    Victoria

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Trouble with cookie consent message’ is closed to new replies.