LovePrestashop Posted October 26, 2010 Share Posted October 26, 2010 when the user click the pdf invoice at "My Account", it display an error to user: FPDF error: Not a JPEG file: /home/lovestat/public_html/img//logo.jpgObviously, there is a "//" before the logo.jpg. I am wondering if somebody knows how to fix this? thanks so mcuh! Link to comment Share on other sites More sharing options...
LovePrestashop Posted October 27, 2010 Author Share Posted October 27, 2010 please, could anyone help me with this? thank you! Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 Try changing lines 139-140 of classes/PDF.php from: if (file_exists(_PS_IMG_DIR_.'/logo.jpg')) $this->Image(_PS_IMG_DIR_.'/logo.jpg', 10, 8, 0, 15); to: if (file_exists(_PS_IMG_DIR_.'logo.jpg')) $this->Image(_PS_IMG_DIR_.'logo.jpg', 10, 8, 0, 15); Looks like another bug worth reporting on the bug tracker. Link to comment Share on other sites More sharing options...
rackoon Posted January 24, 2011 Share Posted January 24, 2011 BUMP:Hi guys i am having the same issue as above. I removed the / from PDF.php but i still get the error FPDF error: Not a JPEG file: /home/intrat/public_html/something.com.au/img/logo.jpgany ideas wat to do. i am using version 1.3.5 Link to comment Share on other sites More sharing options...
rackoon Posted January 24, 2011 Share Posted January 24, 2011 solved. thanks Link to comment Share on other sites More sharing options...
kodu Posted March 11, 2011 Share Posted March 11, 2011 solved. thanks hello, can u tell me please how you resolve this problem with PDF eror?? Thank you. Link to comment Share on other sites More sharing options...
Bijan Posted May 16, 2011 Share Posted May 16, 2011 solved. thanks hello, can u tell me please how you resolve this problem with PDF eror?? Thank you. How did you solve this?I have same problem running version 1.4.1FPDF error: Not a JPEG file: Link to comment Share on other sites More sharing options...
Recommended Posts