Jump to content

TCPDF ERROR: Some data has already been output to browser, can't send PDF file


kayol10

Recommended Posts

I have just upgraded to Prestashop 1.6.0.9 and I get this message when trying to generate the pdf invoice in the back office:

TCPDF ERROR: Some data has already been output to browser, can't send PDF file

I have seen some related posts in 1.5 but none of the solutions provided there worked for me.

Has anyone else came across this?

Thanks everyone!

Link to comment
Share on other sites

Thanks fro the reply,

I looked up a post on how to enable debug changed from false to true in defines.inc.php -  (link) but I probably didn`t get the right details from the website:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cosme291/public_html/config/defines.inc.php:1) in /home/cosme291/public_html/classes/Tools.php on line 143

 

Thanks again!

Link to comment
Share on other sites

×
×
  • Create New...