xavpowa Posted January 6, 2013 Share Posted January 6, 2013 (edited) Bonjour, Je suis en train de mettre en place une boutique en ligne pour l'un de mes clients. Celui-ci propose des recettes (gratuites) accessible directement par téléchargement au format PDF). Cependant, lorsque l'on arrive à l'étape "paiement", la page est blanche; Mais le client reçoit bien un courriel précisant "paiement accepté" (logique .. C'est gratuit) et un autre mail lui disant d'aller dans l'historique de ses commandes. Comment réparer ça .. ? Bien Cordialement, Edited January 6, 2013 by xavpowa (see edit history) Link to comment Share on other sites More sharing options...
YopixelAE Posted January 6, 2013 Share Posted January 6, 2013 Bonjour, activez les messages d'erreurs vous en saurez davantage. (fichier config set on) Autrement donnez-nous la version Presta + une url de démo, ou bien une boule de cristal, au choix. Link to comment Share on other sites More sharing options...
xavpowa Posted January 6, 2013 Author Share Posted January 6, 2013 (edited) Haha ! Autant pour moi .. La version prestashop est la 1.5.3.1, l'url http://www.montagnes.nc/admin995 Adresse mail : [email protected] mdp : support02 L'erreur : Fatal error: Uncaught exception 'ImagickException' with message 'NoDecodeDelegateForThisImageFormat `/htdocs/img/logo-1.jpg'' in /htdocs/tools/tcpdf/tcpdf.php:8606 Stack trace: #0 /htdocs/tools/tcpdf/tcpdf.php(8606): Imagick->readimage('/htdocs/img/log...') #1 /htdocs/tools/tcpdf/tcpdf.php(8073): TCPDF->ImagePngAlpha('/htdocs/img/log...', 10, -47.6415, 260, 159, 91.7222222222, 56.0916666667, 'PNG', '', 'B', false, 300, '', '77f3879d4a15f04...') #2 /htdocs/tools/tcpdf/tcpdf.php(23813): TCPDF->Image('/htdocs/img/log...', 10, -47.6415, 91.7222222222, 56.0916666667, '', '', 'B', false, 300, '', false, false, 0, false, false, true) #3 /htdocs/tools/tcpdf/tcpdf.php(23209): TCPDF->openHTMLTagHandler(Array, 5, true) #4 /htdocs/tools/tcpdf/tcpdf.php(6719): TCPDF->writeHTML('<cssarray>a:0:{...', true, false, true, true, '') #5 /htdocs/tools/tcpdf/tcpdf.php(23141): TCPDF->MultiCell(95.0000722222, 0, '<cssarray>a:0:{...', false, '', false, 2, '', '', true, 0, true, true, 0, 'T', false) #6 /htdocs/classes/pdf/PDFGenerator.php(109): TC in /htdocs/tools/tcpdf/tcpdf.php on line 8606 Merci de votre aide ! Edited January 6, 2013 by xavpowa (see edit history) Link to comment Share on other sites More sharing options...
matoola Posted February 7, 2013 Share Posted February 7, 2013 Hi! I am sorry I cannot speak French but I had the same fatal error as mentioned in previous post and was looking for a solution for 10 hours now! I think I found what the problem is. You can only use .jpg files for logo image on PDF generated invoices (I used .png instead, doh) otherwise all verification at the step 5 of shopping cart will fail! ( You can set logo images in Preferences > Themes ) So that is something that should be reported to Prestashop team to change at the backend. You shouldn't be able to add png images to logos for PDF invoices! Regards, Mato 1 Link to comment Share on other sites More sharing options...
chroustt Posted July 4, 2013 Share Posted July 4, 2013 perfect, thanks for sharing your solution! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now