Copy link to clipboard
Copied
Hello,
We have updated our CentOS ColdFusion 2016, from update 8 to update 11. Installation was successful, and the installation log shows 0 errors.
After that, one of our scripts, that generates a thumbnail from a password protected PDF, has stopped working.
Our code is
<cfpdf action="thumbnail" source="#data.filename#" password="mypassword" destination="#sPathTemp#" pages="1" scale="30" format="jpeg" resolution="high" overwrite="Yes">
An error occurred during THUMBNAIL operation in <CFPDF>. Error: The password provided is either wrong or does not have sufficient permission to perform this action. <br>The error occurred on line 1.
coldfusion.pdf.PDFDocOperation$PDFUnAuthorisedOperationException: An error occurred during THUMBNAIL operation in <CFPDF>. at coldfusion.pdf.PDFDocHandler._extractSinglePDFImages(PDFDocHandler.java:4264) at coldfusion.pdf.PDFDocHandler._extractImages(PDFDocHandler.java:4177) at coldfusion.pdf.PDFDocHandler.extractImages(PDFDocHandler.java:4073) at coldfusion.pdf.PDFDocOperation.thumbnail(PDFDocOperation.java:2965) at coldfusion.tagext.lang.PDFTag.doEndTag(PDFTag.java:1990) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3708)
Have something to add?