• Hello,

    I moved one of my sites to HTTPS and I’ve been having a problem with MailPoet since then. It doesn’t display any popup anymore (I can’t edit my ‘subscribe’ form for example). I get this message in Chrome’s console:

    Refused to display ‘https://www.(mywebsite).com/wp-admin/admin.php?page=wysija_config&action=fo…c2UgZS1tYWlsIHBvdXIgw6p0cmUgcHLDqXZlbnUgZGUgbCdvdXZlcnR1cmUgZHUgYmxvZy4%3D’ in a frame because it set ‘X-Frame-Options’ to ‘DENY’.
    wysija-form-editor.js:1 Uncaught SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Sandbox access violation: Blocked a frame at “https://www.(mywebsite).com” from accessing a frame at “null”. The frame being accessed is sandboxed and lacks the “allow-same-origin” flag.

    I’m not 100% positive the problem has something to do with HTTPS but I have 3 blogs using MailPoet. They all have the same plugins and a variation of the same WordPress theme.
    – The plugin works fine on the HTTP blog.
    – I have the same problem (neverending loading of popups and X-Frame-Options error) on both the HTTPS blogs.

    I tried to disable all the plugins and it doesn’t solve the problem so I suppose it has something to do with HTTPS. Anything I/you can do to solve this?

    Thank you in advance!

    • This topic was modified 8 years, 1 month ago by LouDB.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Planning a switch to HTTPS soon so would like to know the answer to that as well

    Hi,

    When you install MailPoet we save some options to the database that contains the full URL, what it can be happening is that the URL saved is still https://your-website.com

    Best way to solve this, is to export your subscribers to a CSV and do a reinstall. This should save the proper URL in the database again. Be aware that you’ll lose all subscribers and newsletters, and start from scratch! So please make a backup first.

    So there is no way to keep the existing Autoresponder sequence and the relative location of each individual subscriber in that sequence?

    @ginmi there isn’t, unfortunately. All the autoresponders need to be created from scratch.

    Is there really no way to do this without reinstalling @ginmi ?

    I’d really rather not go through many hours of reinstall, reviewing lists/newsletters and testing if it’s just a handful of database changes?

    Steve

    (@woodwarrior)

    Hi,

    I just moved the website I administer to Https. I haven’t had to occasion to test MailPoet since the switch but I would like to prevent any problem. Like so many, I’d rather not go through the process of reinstalling everything.

    So I’m wondering. Would it be possible to use wp-cli to replace every occurrences of https://my-website.com by https://my-website.com ? I did a dry-run with wp-cli and it seems that replacements would be limited to 2 tables: wp_wysija_email and wp_wysija_url.

    Thanks

    • This reply was modified 7 years, 9 months ago by Steve.

    It seems hard to believe that there is no Search/Replace db function that will fix this issue.

    Asking users to fully recreate newsletters and autoreplies is not a solution.

    I tried running Better Search & Replace on all the db files, and it did update 45 different http URLs to https.

    I also deactivated, deleted and reinstalled the plugin, which kept the db content in place after I re-activated.

    But neither action solved the problem of blank link wysiwyg boxes or the never-ending-spinning image file uploader.

    Cmon, MailPoet, a little more help here please!

    • This reply was modified 7 years, 5 months ago by Allen Freeman.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘MailPoet & HTTPS?’ is closed to new replies.