Jump to content

PDF Invoice Error


Division

Recommended Posts

If you change the logo.jpg file, you must change the file includes/pdfconfig.php to the correct file name. If you upload a new file logo in other than a JPEG format, and leave the file includes/pdfconfig.php untouched, you will get an error similar to TCPDF error: Missing or incorrect image file: /home/xxxxxxxx/public_html/billing/templates_c/jpg6ow1Sh.

 

In a nutshell: Change the logo file type, then update includes/pdfconfig.php with the correct logo filename/extension.

Link to comment
Share on other sites

  • 2 weeks later...

Need to be careful when changing the name of the logo from logo.jpg to something different. While pdfconfig.php allows you to change the name of the logo for invoices, it appears that the quote module is hard coded to use "logo.jpg" (when trying to view or email a pdf of the quote statement). I'm using 3.8.2, so I don't know if it's different for newer versions. I think it's safe and probably best to just use the naming convention logo.jpg and leave it at that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated