Page 2 of 2
Re: TCPDF error: Some data has already been output....
Posted: 25 Aug 2009, 16:12
by Jan
So this means probably, there is some part of code which render some:
- error message or
- bad ecoding before the rendering PDF
the error can be found in error log, with the bad encoding it is more difficult as you need to test all files. E.g. some users has prblem because same white spaces were saved before <?php in configuration.php
Re: TCPDF error: Some data has already been output....
Posted: 31 Aug 2009, 21:51
by kirikou
Very good it's the solution
Jan put that in your FAQ
Re: TCPDF error: Some data has already been output....
Posted: 23 Oct 2009, 13:49
by filis
I have a problem again. After I use the last solution of this forum, change the error information on this text: "Warning: Cannot modify header information - headers already sent by (output started at /home/filis/domains/pro-radost.eu/public_html/beta/libraries/tcpdf/tcpdf.php:1) in /home/filis/domains/pro-radost.eu/public_html/beta/libraries/tcpdf/tcpdf.php on line 3081
TCPDF error: Some data has already been output to browser, can't send PDF file"
Please help me. Jan, muzes i cesky
Filip
Re: TCPDF error: Some data has already been output....
Posted: 23 Oct 2009, 21:31
by Jan
Hi, this means, there is still something what is rendered before PDF
---
Pořád je tam něco co se renderuje před dokumentem a jelikž PDF není HTML, nesmí se zde nic renderovat, protože PDF dokument musí mít speciální hlavičku bez jakýchkoliv ostatních řetězců
Pořád je tam nějaká chyba která vytváří zprávu o chybě která se zobrazí před hlavičkou PDF
Tam je potřeba nějakým způsobem ty chyby ošetřit