- This topic has 2 replies, 2 voices, and was last updated 13 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress › Web Invoice – Invoicing and billing for WordPress › Problem with PDF
Tagged: pdf
First of all, thanks for the plugin, it’s exactly what I’ve been looking for.
Everything looks good except the PDFs. When I try to view the PDF that is generated, it starts to open but then says, “Adobe Reader could not open ‘web-invoice-87321788.pdf’ because it is either a not supported file type or has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded.)”
Is there something I need to set, either in WordPress or the plugin, to get PDFs working?
Can you please send me the damaged PDF? I have seen a similar situation where web-invoice directory was not writeable by the web server and the PDF was corrupted.
Use the contact form found at https://www.mohanjith.com/contact.html to contact me and I’ll reply then you can attach the PDF.
As I predicted it was a permission issue. Please give the web server write access to web-invoice/lib/dompdf/lib/fonts/ .
Freelance programmer, web developer, app developer, system administrator with over 5 years experience in PHP, Javascript, Objective-C, Python, Perl, Ruby, Java, C++, system administration and database administration in mission critical environments. Also skills in graphic designing and more. I can provide end to end solutions. I also specialize in open source product deployment and customization.