WordPress.org

Support

Support » Plugins and Hacks » Omni Secure Files » [Resolved] [Plugin: Omni Secure Files] MD5 differences when downloading and WP_DEBUG

[Resolved] [Plugin: Omni Secure Files] MD5 differences when downloading and WP_DEBUG

  • I spent 4 hours trying to figure out why my pdf files were not being downloaded correctly when clicking on the file links in the Secure Files page.

    The md5 checksum was different between the file on the server and the downloaded file. The problem came in the fopen/fread section of the ajax/download.php file. I’d checked that fopen was definitely opening the correct files and tried all different types of header settings.

    The eventual cause was that I had WP_DEBUG set to true. Hopefully this will help someone else if they hit the same problem.

    http://wordpress.org/extend/plugins/omni-secure-files/

Viewing 1 replies (of 1 total)
  • Plugin Author jsapara

    @jsapara

    I’ll add a warning to the browser and settings page to inform people to turn WP_DEBUG off if they experience issues.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Omni Secure Files] MD5 differences when downloading and WP_DEBUG’ is closed to new replies.
Skip to toolbar