-
AuthorPosts
-
August 6, 2020 at 3:39 pm #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:
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,
IsmaelOur 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
- This topic was modified 4 years, 3 months ago by sylvia5113.
August 11, 2020 at 5:43 am #1236569Hey 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,
IsmaelAugust 14, 2020 at 4:20 pm #1237887FTP info in private info below
August 17, 2020 at 6:00 am #1238354Hi,
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,
IsmaelAugust 17, 2020 at 7:34 am #1238389IThe 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
August 19, 2020 at 4:34 am #1238992Hi,
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,
IsmaelAugust 19, 2020 at 2:33 pm #1239185This reply has been marked as private.August 25, 2020 at 2:39 pm #1240669Hi,
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,
IsmaelAugust 25, 2020 at 6:12 pm #1240735This reply has been marked as private.August 28, 2020 at 9:07 am #1241463This reply has been marked as private.August 28, 2020 at 3:51 pm #1241624Hi,
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,
IsmaelSeptember 2, 2020 at 12:08 pm #1242777I have created another FTP account which has full international access.
Login information is in the private content area
September 7, 2020 at 11:22 am #1243911Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.