Forums

TCPDF ERROR (pdf action)

Ziuk 01 Oct, 2013
Hello,

I test PDF action http://www.chronoengine.com/faqs/4133-how-can-i-create-a-pdf-including-form-results-.html but after submit click i see following error:

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



I have no idea where is problem. I test very simple form where is only 1 text box and submit button.
Events:
- On load: show html
- On submit: HTML to PDF

I use Joomla! 3.1.5 Stable
PHP: 5.4.1
PDF action version is 1.2
Chronoforms_V4.0.1_J3
GreyHead 02 Oct, 2013
Hi Ziuk,

Please try running the form from the Test Form icon in the Form Editor toolbar and see if you get the same error. That will help identify where the output is coming from.

Bob
Breakbeatz 01 Jul, 2014
Hi Bob,
Breakbeatz again :-)
I got the same problem, better: First I didn't got an pdf, this will work in the test form, but not on the regular.
How can I fix it?
Thanks,
Breakbeatz
GreyHead 02 Jul, 2014
Hi Breakbeatz,

Hard to know - what message exactly are you getting? Does it say where the previous output was from?

This usually happens because something else on your page outputs something before the main page output - it may be as little as a single space.

Bob
This topic is locked and no more replies can be posted.