Page 1 of 1

TCPDF ERROR

Posted: 16 Jun 2009, 10:46
by ozsj
Hi, I am getting the following error. As I am new to Joomla can anyone please advise of a solution?

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

Would anyone at Phoca be interested in solving this issue for payment? I need to get it working ASAP.

Thanks.

Re: TCPDF ERROR

Posted: 18 Jun 2009, 18:26
by Jan
Hi, this is mostly caused by some php error message which is rendered before PDF (there is no problem if it is rendered before HTML but there is problem in PDF documents)

Try to see your errror log to see if there is some error (warning) rendered before PDF, it can be some bad characters rendered by wrong encoding :-(

Jan

Re: TCPDF ERROR

Posted: 19 Jun 2009, 02:23
by ozsj
Hey Jan, this is a bit above my skill level. Could I possibly contract Phoca to have a look. I am happy to pay, regardless of success. It is just that this invoice capability is very important.

My email is stevej@onaustralia.com.au if you are interested.

Thanks.

Re: TCPDF ERROR

Posted: 19 Jun 2009, 16:37
by Jan
Hi, I think, with this problem only some webserver expert can help you, so he looks at error log on your server and see if some of your php doesn't create an error message or (because of bac encoding) some output before the pdf is rendered, As I didn't get any such error :-(, I have no experiences with it :( :idea:

Jan

Re: TCPDF ERROR

Posted: 01 Nov 2009, 10:30
by paulchen007
hi,
at beginning i get the same error when changing one of the new files ('phoca.tcpdf.php'). when i uploaded the original files again the error disappear (not a real sulation - i know :) ) so i switched from the windows-notepad to a real editor (i.e. grimson-editor or so) and changed the file again (plus upload) and hurray - it works.

maybe this helps someon elso too :idea:

Re: TCPDF ERROR

Posted: 03 Nov 2009, 11:36
by Jan
great to hear it. Jan