Forums

TCPDF ERROR: Unable to create output file

cyberspyder 24 Oct, 2018
Hello! I have chronoforms that makes the original form, then I am using chronoconnectivity so the admins are able to edit the data from the forms and when it's saved, I want it to write a PDF of all the data. My listing of forms is here http://forms.dfainsure.com.php72-36.phx1-2.websitetestlink.com/alarm-applications

I can save data, I can view it, and I can delete it. However, when the form is correctly filled out, I get the error that it can't create an output file. I AM able to do so with the chronoforms form. Also, I am trying to name the file the name of the person submitting the form, but I am not sure the syntax to pull in a variable- I tried {var:read_app.App.applicant_name}
healyhatman 25 Oct, 2018
Post a screenshot of your TCPDF action


Also use {debug:} at the end of the event and it will show you all the data it has available to it at that time. Makes it a lot easier to see the structure you need to use.
cyberspyder 25 Oct, 2018
Hi! Thanks. Here are the two items that I see that deal with PDF creation. This is not a live site so you can edit any data in the link above and test it if you like.


healyhatman 25 Oct, 2018
Sorry I didn't realise this before but your storage path is wrong. It needs to be a folder path, not a URL
cyberspyder 25 Oct, 2018
Thank you!! That was indeed the problem. That solves everything.
This topic is locked and no more replies can be posted.