williamleonard / obblm

Automatically exported from code.google.com/p/obblm
1 stars 0 forks source link

Solution fo FPDF error #645

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While generating PDF for invoice error will display given below
FPDF error: Some data has already been output, can't send PDF file

Here is the solution:
Go to [tools] folder - > Open [fpdf] folder - Open fpdf.php file

Line no:992 
function Output($name='', $dest='')
{
 ob_clean();

i think in next release u should add this line.
3 days tried to find solution to this. :) now i got it.

Original issue reported on code.google.com by andrius....@gmail.com on 15 May 2014 at 8:44

GoogleCodeExporter commented 9 years ago
Thanks. Done in r981

Original comment by Nimda...@gmail.com on 7 Jul 2014 at 9:44