vetal Posted March 19, 2014 Report Posted March 19, 2014 Hello guys! When I clicked on Invoice View, I saw error: TCPDF ERROR: Some data has already been output, can't send PDF file It was fixed due to adding in ./components/invoice_templates/tcpdf_wrapper.php to line 2: ob_end_clean(); Quote
0 barryf Posted November 5, 2014 Report Posted November 5, 2014 Hello guys! When I clicked on Invoice View, I saw error: TCPDF ERROR: Some data has already been output, can't send PDF file It was fixed due to adding in ./components/invoice_templates/tcpdf_wrapper.php to line 2: ob_end_clean(); I had the same error and the above did fix it for me as well. I am wondering where the actual issue is though. I have some Blesta instances running on Ubuntu 12.04 with Apache 2.2/php 5.3 which are fine, but the Blesta running on Ubuntu 14.04/Apache 2.4/php5.5 show this error. I am also having an issue where the invoice logos do not display as it appears that dome blank lines are being prepended to the file somewhere. If I download the file then edit it and remove the two lines it is then OK. Again, this is al lfine if I run under php 5.3/apache 2.2 Frustrating. Quote
Question
vetal
Hello guys!
When I clicked on Invoice View, I saw error:
TCPDF ERROR: Some data has already been output, can't send PDF file
It was fixed due to adding in ./components/invoice_templates/tcpdf_wrapper.php to line 2:
ob_end_clean();
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.