Hello, i am trying to use cfpdf and i keep getting the following error:
String index out of range: -1
I don't know why i keep getting that, i'm running coldfusion 11 on debian linux
<CFIF FileExists("#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf")>
<cfpdfform action="read" source="#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf" xmldata="x" result="r">
</cfpdfform>
<cfdump var="#x#" label="XMLData">
<cfdump var="#r#" label="Result"
<CFELSE>
File doesn't exist
</CFIF>
Thank you