kodu Posted March 10, 2011 Share Posted March 10, 2011 Salut. Va rog daca se poate sa ma ajutati, am intalnit o problema, si anume in momentul in care vreau sa vizualizez factura unui client imi apare acest mesaj: FPDF error: Not a JPEG file: /home/spub7/public_html/sport-rule.ro/img//logo.jpg sincer nu stiu unde sa modific sau sa verific. Daca ma puteti ajuta, va multumesc. Link to comment Share on other sites More sharing options...
Abh Posted March 11, 2011 Share Posted March 11, 2011 Vezi aici: http://www.prestashop.com/forums/viewthread/75508/#322349 Link to comment Share on other sites More sharing options...
kodu Posted March 11, 2011 Author Share Posted March 11, 2011 Vezi aici: http://www.prestashop.com/forums/viewthread/75508/#322349 tot nu am reusit, merci oricum. Link to comment Share on other sites More sharing options...
Kilobaid Posted March 15, 2011 Share Posted March 15, 2011 Vezi aici: http://www.prestashop.com/forums/viewthread/75508/#322349 tot nu am reusit, merci oricum. Fa urmtoarea modificare 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_.'/logo1.jpg')) $this->Image(_PS_IMG_DIR_.'/logo1.jpg', 10, 8, 0, 15); Fa o imagine logo1.jpg (pune-o in /img) care este .jpg (adica nu e transparenta) Link to comment Share on other sites More sharing options...
Recommended Posts