Jump to content

Invoice or delivery report = Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:


kevin avent

Recommended Posts

Has anybody had the following issue with 8.1.2, we have it on Cpanel php8.1 and fileinfo is installed and enabled, any ideas?


Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x3c 0x21 in /home/website/public_html/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120

Warning: imagecreatefromjpeg(): "http://website/img/logo_invoice-1708018535.jpg" is not a valid JPEG file in /home/whitevapeco/public_html/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/vendor/tecnickcom/tcpdf/tcpdf.php:7120) in /home/whitevapeco/public_html/vendor/tecnickcom/tcpdf/tcpdf.php on line 7721
TCPDF ERROR: Some data has already been output to browser, can't send PDF file

UPDATE: ok so if we turn on debug mode we don't get the errors but no logo in the pdf?

 

Edited by kevin avent
added info (see edit history)
Link to comment
Share on other sites

  • kevin avent changed the title to Invoice or delivery report = Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...