TCPDF ERROR (pdf action)

Ziuk 01 Oct, 2013

I test PDF action 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.
- 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
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.

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?
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.

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