zarza Posted February 1, 2018 Share Posted February 1, 2018 Hello, After I complete my order, select payment option as cash on delivery, and click on confirm, I get an error 500. Weird thing is, the order is recognized and I can see it in back office. After going to config/define.inc.php and change define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); I now get this error message : Fatal error: Uncaught exception 'ImagickException' with message 'WriteBlob Failed `/nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/cache/tcpdf/mska_ffa6f886f52a57d3970c68e13054fd7c' @ error/png.c/MagickPNGErrorHandler/1643' in /nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/tools/tcpdf/tcpdf.php:8618 Stack trace: #0 /nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/tools/tcpdf/tcpdf.php(8618): Imagick->writeimage('/nfsmnt/hosting...') #1 /nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/tools/tcpdf/tcpdf.php(8078): TCPDF->ImagePngAlpha('/nfsmnt/hosting...', 10, -26.8523055556, 178, 103, 60.9654800433, 35.2777777778, 'PNG', '', 'B', false, 300, '', 'ffa6f886f52a57d...') #2 /nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/tools/tcpdf/tcpdf.php(23818): TCPDF->Image('/nfsmnt/hosting...', 10, -26.8523055556, 60.9654800433, 35.2777777778, '', '', 'B', false, 300, '', false, false, 0, false, false, true) #3 /nf in /nfsmnt/hosting1_2/7/c/7c4eb405-0fec-4a85-a648-5a6295c17e81/zarza.sk/web/tools/tcpdf/tcpdf.php on line 8618 I cant make any sense of this. Any help is appreciated. Link to comment Share on other sites More sharing options...
mcoego Softdil Posted December 12, 2019 Share Posted December 12, 2019 Hello, Probably this answer comes too late but anyway: I had the same error, the problem occurs when the invoice PDF to be send via mail is written in the cache directory. You should check your permissions on web/cache/tcpdf, that fixed my problem. I hope this helps someone. Link to comment Share on other sites More sharing options...
passio Posted May 2, 2020 Share Posted May 2, 2020 Thank you mcoego. Link to comment Share on other sites More sharing options...
Elbodeguero Posted May 2, 2020 Share Posted May 2, 2020 Hello all, Please @mcoego Softdil could you give a more of information and explain further for the beginners, please? Thanks in advance. 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