WordPress.org

Ready to get started?Download WordPress

Forums

WP Post to PDF Enhanced
ERR_CONTENT_LENGTH_MISMATCH when downloading PDF (6 posts)

  1. gbelvedere
    Member
    Posted 2 months ago #

    Hi, does anyone knows why when I click the "Download PDF" link, I get redirected ok to the same page with param ?format=pdf and then I get a ERR_CONTENT_LENGTH_MISMATCH ?

    thanks

    https://wordpress.org/plugins/wp-post-to-pdf-enhanced/

  2. Lewis Rosenthal
    Member
    Plugin Author

    Posted 2 months ago #

    Sorry, I've fallen well behind in not only getting this next release out but in support requests...

    The format=pdf is necessary, as this is how we differentiate between the web & pdf versions of the same page content. This is normal and expected behavior of the plugin.

    I take it that you are using IE as your browser, as this is a typical error message produced by IE when the content is somehow truncated when compared to the length as reported in the HTTP headers. This can be caused by a number of factors, and it is impossible for me to diagnose this condition given the little bit of information at hand. Please provide details as to platform, browser, browser version, whether you see this using a different browser, whether this is consistent across different platforms/pages, web server and version, PHP version, and plugin version. Have you tried the development version?

    If this is only happening on specific pages, we'll need to know what differs on those pages.

    Also note that this plugin has *not* yet been tested under WP 3.8.3.

    Cheers

    Lewis

  3. Lewis Rosenthal
    Member
    Plugin Author

    Posted 2 months ago #

    Please ignore my mention of not testing under 3.8.3; I was thinking 3.9. To clarify, I have tested the plugin under 3.8.3, and have not seen any issues. I have not yet tested under 3.9.

    Apologies for the error!

    Lewis

  4. gbelvedere
    Member
    Posted 2 months ago #

    Hi!, i'm on 3.9.1 now, because I've updated and the error still happens. I'm on chrome but i've tested also with firefox and the error still happens. I didn't test the dev version yet. Any ideas on how to debug what is making the different lenght of the content?

    tnx

  5. gbelvedere
    Member
    Posted 1 month ago #

    Hi, any news on this? still happening.
    In FF it returns an empty PDF.
    In IE it asks for permission to download a 265KB PDF, but then the downloaded PDF is empty.
    In Chrome it just raises an the error of ERR_CONTENT_LENGTH_MISMATCH.
    Same error repeats in every page I've setup.

    thanks!

  6. Lewis Rosenthal
    Member
    Plugin Author

    Posted 1 month ago #

    Sorry for the delay.

    What other plugins are you using? As I can't seem to duplicate this, I'm leaning toward some interference from something else. If we can narrow that down, I may be able to work around it in my plugin or contact the other plugin author to see how we can better cooperate.

    Thanks.

    Lewis

Reply

You must log in to post.

About this Plugin

About this Topic