When creating a Delivery PDF - Fatal error: Allowed memory size exhausted



  • Hi Folks,

    if i want to create a delivery PDF File, i get the following Error message:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in my/Path/prestashop/vendor/tecnickcom/tcpdf/include/tcpdf_static.php on line 1218

    I already pimped my memory_limit up to 128MB in the ./htaccess with: php_value memory_limit 128M

    I hope to get a fix soon.



  • I had to put the following in the .htaccess file

    php_value memory_limit 512M
    php_value max_execution_time 300

    But now i see that the PDF Files are strange looking.
    They have about 16 pages. On the first one is everything but then page 2 - 16 are lines like this:

    Picture: http://ferico.de/download/strange_pdf.JPG



  • Seems to me that TB cannot handle your pay by invoice module.



  • If i change the State to “Order send” (Bestellung versandt) the PDF File is ok as it should be.



  • Did you test, if the pdf is correct too when activating this for other status, like e.g. preparation?



  • If i change it to “preparation” the pdf file is ok then too.


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.