Author Topic: if safe path is bad, VM invoices are not sent, can't produce PDFs  (Read 147 times)

jcalvert

  • Beginner
  • *
  • Posts: 15

I had a non-empty value for safe path, "tmp/vmfiles", and it took a long time to figure out that this was causing VM invoice emails not to be sent, and PDF not printed on the Orders page.

I found the error by attempting to display the order PDF from the Orders page, and got this error:

Quote
TCPDF ERROR: Unable to create output file...

I solved the problem by changing the safe path to the full, absolute path of the vmfiles folder.

It may be a good idea to add "make sure the VM safe path is correct" after the TCPDF error message.

thanks,
JC