Okidoki Posted November 24, 2014 Share Posted November 24, 2014 Hi dears, When I click to download the pdf invoice, I get this message: TCPDF ERROR: Some data has already been output to browser, can't send PDF file Invoice downloads is working from the customer account. Only from backoffice I get this message. From php errors: PHP Warning: Cannot modify header information - headers already sent by (output started at /.../../public_html/loja/override/controllers/front/OrderOpcController.php:13) in /.../.../public_html/loja/controllers/front/ParentOrderController.php on line 56 PHP Warning: Cannot modify header information - headers already sent by (output started at /.../.../public_html/loja/override/controllers/front/OrderOpcController.php:13) in /.../.../public_html/loja/classes/controller/FrontController.php on line 793 I´m using default theme with the lst version of prestashop. Did a search in the forum but nothing work, Link to comment Share on other sites More sharing options...
Okidoki Posted November 25, 2014 Author Share Posted November 25, 2014 I have solved the issue by myself. Need set output_buffering=on in php.ini Link to comment Share on other sites More sharing options...
franzneves Posted December 2, 2014 Share Posted December 2, 2014 where is the php.ini file? Link to comment Share on other sites More sharing options...
rejlafond Posted March 11, 2015 Share Posted March 11, 2015 I have solved the issue by myself. Need set output_buffering=on in php.ini Thank you thank you thank you......was having issues with my system generating PDF invoices and this fixed my problem. Link to comment Share on other sites More sharing options...
Recommended Posts