TCPDF ERROR

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
ozsj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jun 2009, 10:44

TCPDF ERROR

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF ERROR

Post 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
If you find Phoca extensions useful, please support the project
ozsj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jun 2009, 10:44

Re: TCPDF ERROR

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF ERROR

Post 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
If you find Phoca extensions useful, please support the project
paulchen007
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Oct 2009, 08:26

Re: TCPDF ERROR

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF ERROR

Post by Jan »

great to hear it. Jan
If you find Phoca extensions useful, please support the project
Post Reply