Tagged: ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1235776

    When the Cookie Bar is set to display, and the OK button is pressed to accept cookies, the page fails to reload. If F5 is pressed, the cookie bar displays again meaning the acceptance of the cookie has not been saved.

    As per our contribution to this thread:

    Original Post

    This is a new ticket to provide our private data securely.

    You recommended the following

    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

    Our response:

    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

    • This topic was modified 4 years, 3 months ago by sylvia5113.
    #1236569

    Hey sylvia5113,

    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.

    // https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug

    Best regards,
    Ismael

    #1237887

    FTP info in private info below

    #1238354

    Hi,

    We tried logging in to the server but it says that the user account above is invalid. Please check the info carefully or post another account so that we can debug the issue.

    Thank you for your patience.

    Best regards,
    Ismael

    #1238389

    IThe details are correct but I have changed the password for you just in case.

    I have been able to login using these credentials.

    Please let me know how you get on

    #1238992

    Hi,

    It still doesn’t work — still the same invalid login account. We tried different encryption and protocol, use default port, but it’s the same. Could you provide a screenshot of the FTP settings?

    Best regards,
    Ismael

    #1239185
    This reply has been marked as private.
    #1240669

    Hi,

    Sorry for the delay. We can’t still access the file server using the account above. Please check the info carefully or generate another account, and make sure that it’s not exclusive to a specific country or IP address.

    Best regards,
    Ismael

    #1240735
    This reply has been marked as private.
    #1241463
    This reply has been marked as private.
    #1241624

    Hi,

    Sorry for the delay. We’ve been checking this thread on and off for the past few days but every time we do, the account above doesn’t work on our end. We tried connecting with and without TLS but it’s the same — login account is invalid. We also tried connecting via SFTP, used both old and new password, but we’re still getting the same login account error.

    Please ask your hosting provider to create a new FTP account and make sure that it can be accessed from these countries ( Austria, US, Lithuania, Ukraine, Philippines, Sweden )

    Temporarily, you can install a third party plugin for the cookie consent bar.

    // https://wordpress.org/plugins/cookie-law-info/
    // https://wordpress.org/plugins/easy-wp-cookie-popup/

    Best regards,
    Ismael

    #1242777

    I have created another FTP account which has full international access.

    Login information is in the private content area

    #1243911

    Hi,

    Unfortunately, this account still doesn’t work. We’ve tried every settings available but it doesn’t go through — login account is invalid. Please check the screenshot below.

    Screenshot: https://imgur.com/CzEsDTQ

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.