WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
[resolved] 0 Bytes Download (11 posts)

  1. MrFabulous
    Member
    Posted 9 months ago #

    All of a sudden the downloaded files are empty (0 bytes)
    Any idea what happened/how to fix?

    PS: I am using the newer Download Monitor version

    Thanks!

    Fabrizio

    http://wordpress.org/plugins/download-monitor/

  2. shmk
    Member
    Posted 9 months ago #

    Same here, anyone with a hotfix?

  3. mikejolley
    Member
    Plugin Author

    Posted 9 months ago #

    Particular file type being used here?

  4. shmk
    Member
    Posted 9 months ago #

    In my case the files inserted are PDFs.

  5. Riccardo
    Member
    Posted 9 months ago #

    At this time the only "fast" fix I have found is to avoid the force download: setting every download in "redirect to file" mode and removing the "deny from all" .htaccess that you can find in "wp-content/uploads/dlm_uploads".

  6. MrFabulous
    Member
    Posted 9 months ago #

    I am using mp3

  7. mikejolley
    Member
    Plugin Author

    Posted 9 months ago #

    As I cannot reproduce this, I've asked to access to someones install. Will update when I find the cause of this.

  8. mikejolley
    Member
    Plugin Author

    Posted 9 months ago #

    @shmk @MrFabulous If you'd be willing to give me access so I can debug this, please email me via my contact form on my website.

    Thanks

  9. Riccardo
    Member
    Posted 9 months ago #

    I’ve found that the line that breaks the code (at least on GoDaddy) is

    @ob_end_clean();
    line 242 on includes/class-dlm-download-handler.php

    If you comment it out the file is download correctly ;)

  10. mikejolley
    Member
    Plugin Author

    Posted 9 months ago #

    Found a fix also - pushing live in 1.2.1 later on.

  11. MrFabulous
    Member
    Posted 9 months ago #

    Great, thanks Mike - now it works fine!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.