Zen_j1 Posted February 23, 2014 Share Posted February 23, 2014 (edited) I using prestashop 1.5.4.1 I am getting error when i try generate pdf invoice . I have tried solution posted at post given below but non of them work for me what to do? 1) https://github.com/PrestaShop/PrestaShop/commit/433a446a35ae5ef74fbf92a500b3a7e072b8a443 2) http://www.prestashop.com/forums/topic/207872-tcpdf-error-some-data-has-already-been-output-to-browser-cant-send-pdf-file/ Edited February 24, 2014 by Zen_j1 (see edit history) Link to comment Share on other sites More sharing options...
Zen_j1 Posted February 23, 2014 Author Share Posted February 23, 2014 Does not even attach a pdf file in email to customer. Link to comment Share on other sites More sharing options...
Zen_j1 Posted February 23, 2014 Author Share Posted February 23, 2014 Does not even attach a pdf file in email to customer. I am able to solve this part with the post given below. But I still cannot generate pdf from back office i still get error tcpdf http://www.prestashop.com/forums/topic/244110-no-pdf-invoice-in-order-conf-email/ Link to comment Share on other sites More sharing options...
Zen_j1 Posted February 24, 2014 Author Share Posted February 24, 2014 Turned on error reporting i go the error message pasted below. I am not able understand the error can some one help. Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/10481370/html/override/classes/order/Order.php:1) in/home/content/70/10481370/html/tools/tcpdf/tcpdf.php on line 8961TCPDF ERROR: Some data has already been output to browser, can't send PDF file Link to comment Share on other sites More sharing options...
Zen_j1 Posted February 24, 2014 Author Share Posted February 24, 2014 Solution:- There was space before <?php removed space at override/classes/order/Order.php 1 Link to comment Share on other sites More sharing options...
Recommended Posts