Jump to content
  • 0

Tcpdf Error


vetal

Question

1 answer to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...