I am trying to generate a pdf file containing pie charts. By i am having the following Error:
FPDF error: Some data has already been output, can’t send PDF file
After fighting for about an hour I found out that it works pretty well with: Output(“Report.pdf”,’F’); but shows error message with: Output();.
So I am stuck here…can anyone help me with this situation ?
Try putting the following at the start of your php file:
that will avoid
E_WARNINGerrors to be outputted, without looking at the code for a proper fix, this could help.