Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all articles
Browse latest Browse all 5979

CFPDF not working

$
0
0

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


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>