Quantcast
Viewing all articles
Browse latest Browse all 3201

Adrien L on "[Plugin: Newsletter] XML parse error on subscription widget"

Hi guys,

First of all, thanks for this wonderful plugin.

Now, we are encountering a problem with the subscription form widget. On Firefox and IE (not exclusive, I just tested these guys), the landing page is complaining about a parsing problem with the form on newsletter/do/subscribe.php:

Erreur d'analyse XML : balise ne correspondant pas. Attendu : </input>.
Emplacement : https://deontofi.com/wp-content/plugins/newsletter/do/subscribe.php
Numéro de ligne 11, Colonne 51 :                                                </form>
--------------------------------------------------^

So, Firefox doesn't find the matching </input> in do/subscribe.php, let's add it! Here is what I get:

<html>
<head></head>

<body onload="document.getElementById('form').action = '?ts=1440360312';document.getElementById('form').submit()">
    <form id="form" action="https://deontofi.com/wp-content/plugins/newsletter/do/dummy.php" method="post">
        <input type="hidden" name="nr" value="widget"/>
        <input type="hidden" name="ne" value="coucoucoucou@yopmail.com"/>
    </form>
</body>
</html>

That is what I see, meaning the html document is interpreted as a XML document, for some reason.

I am really lost, here. I guess it's not your fault, as I don't see anyone complaining for the same issue. We just fixed a similar problem on the RSS fedds that where not parsed correctly using the following plugin: https://wordpress.org/plugins/fix-my-feed-rss-repair/
What it does is removing unexpected white spaces that corrupt the file, which may come from the theme. And we do have a shitty 2-3yo one (I'm working on the new one! Right when I'll finish with this bug...).

So, config wise, we have w3 total cache (I tried to disable it, no change), newsletter, an outdated version of feed by mail (I'll buy it for another year when I correct this bug), nginx, debian, full-SSL, and an outdated theme (required+ Foundation) that might be screwing around.

Please help us, nobody can subscribe. :(
Oh, here's the URL : https://deontofi.com

https://wordpress.org/plugins/newsletter/


Viewing all articles
Browse latest Browse all 3201

Trending Articles