• Resolved connectisl

    (@connectisl)


    Hi,

    Our operations staff noticed error log messages that we have tracked down to WordPress trying to generate thumbnails for PDFs that have been uploaded to Download Monitor. This happens when a user opens the Media Manager on a post and there is a PDF stored in Download Monitor. The thumbnail generation appears to be calling the PDF over the web and hitting the deny from all htaccess file.

    Thanks

    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey Mark,

    Are you facing this issue only when our plugin is active? If you upload something directly using the “Media” menu in WordPress admin, then do you find similar error?

    Thread Starter connectisl

    (@connectisl)

    Hi Harish,

    This problem only happens when your plugin is active and it only affects uploads that are in /wp-content/uploads/dlm_uploads/ where the .htaccess file with “deny from all” is.

    Files uploaded to the Media Manager rather than Download Monitor are in directories that aren’t affected by the .htaccess file so they don’t get a similar error.

    Thanks

    Mark

    Hey Mark,

    I checked and can confirm that this could happen. Since the files are protected, WordPress won’t be able to create a thumbnail.

    While there is no way around it, I have created an issue at https://github.com/download-monitor/download-monitor/issues/420 as a note to ourselves to see what we can do about it in future.

    Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey Mark,

    I just fixed this issue in our development build. A fix will be included in the 1.9.8 release.

    Kind Regards,

    Barry Kooij

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

The topic ‘PDF Thumbnail Error’ is closed to new replies.