Jump to content

Cannot generate PDF invoices


Recommended Posts

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 ERRORSome 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 by electronly (see edit history)
Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...