• Resolved Adrien L

    (@adrien-l)


    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="[email protected]"/>
        </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://ww.wp.xz.cn/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://ww.wp.xz.cn/plugins/newsletter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Adrien L

    (@adrien-l)

    No input on the topic? Seeing that I’m the only one with this bug, I guess it must come from another plugin or theme, but I’d really appreciate your advice on its resolution.

    Thanks,
    Adrien

    Plugin Author Stefano Lissa

    (@satollo)

    Try to deactivate other plugin to see if the problem solves. Have you a caching or rss related plugins? Start from them.

    Stefano.

    Thread Starter Adrien L

    (@adrien-l)

    Hello,

    So, the bug was caused by Piwik. In the plugin WP-Piwik, we can choose various ways to link WordPress to Piwik, including PHP or by URL. I chose PHP, first, which caused the bug. By URL, it works fine.

    I spent days on this issue. Plugins compatibility is a pain in the ass. I’ll do a better investigation to check which exact WP-Piwik parameter makes your plugin break when I set up the new version of the website I’m working on. For now, philosophy “it works, don’t touch anything”!

    I suggest you put a line about this issue somewhere, that kind of php being sent as xml bug is just impossible to track down…

    Thanks anyway for your plugin, which brings us hundreds of views everyday! 🙂
    Adrien

    Plugin Author Stefano Lissa

    (@satollo)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘XML parse error on subscription widget’ is closed to new replies.