electronly Posted February 11, 2014 Share Posted February 11, 2014 (edited) Hello, heres the critical error when trying to generate a PDF invoice just with the button from my orders panel Warning: Cannot modify header information - headers already sent by (output started at /modules/paypal/paypal.php:1) in /tools/tcpdf/tcpdf.php on line 8961 TCPDF ERROR: Some data has already been output to browser, can't send PDF file Done some research and made some code changes (no success): - Restored my /tools/tcpdf/tcpdf.php existing file with the original - In modules/paypal/paypal.php added a blank space before <?php on line 1 Regards. Thanks a lot! Edited February 11, 2014 by electronly (see edit history) Link to comment Share on other sites More sharing options...
loulou66 Posted February 11, 2014 Share Posted February 11, 2014 hi look this post http://www.prestashop.com/forums/topic/297987-solved-paypal-payment-issue-cannot-modify-header-information/ and do the tips on your file /modules/paypal/paypal.php at line 1 @++ loulou66 Link to comment Share on other sites More sharing options...
electronly Posted February 11, 2014 Author Share Posted February 11, 2014 hi look this post http://www.prestashop.com/forums/topic/297987-solved-paypal-payment-issue-cannot-modify-header-information/ and do the tips on your file /modules/paypal/paypal.php at line 1 @++ loulou66 Thanks for the reply loulou! Nothing happens with this change, still with that error. Removed the blank space before the <?php at /modules/paypal/paypal.php Regards! Link to comment Share on other sites More sharing options...
El Patron Posted February 11, 2014 Share Posted February 11, 2014 if you turn off errors, do you still have problem? Link to comment Share on other sites More sharing options...
tuk66 Posted February 13, 2014 Share Posted February 13, 2014 Nothing happens with this change, still with that error. Removed the blank space before the <?php at /modules/paypal/paypal.php Regards! I'm not sure if you can get the same error after removing the blank row. .... output started at /modules/paypal/paypal.php:1) .... See line number after paypal.php: once again. 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