1

Al crear una pagina me manda este error:

Warning: Division by zero in C:\wamp\www\bienes\libreria\html2pdf\html2pdf.class.php on line 2928
FPDF error: Some data has already been output, can't send PDF file

La pagina tiene una tabla que se crea dinamicamente mediante ciclo while, porque se saca a traves de una consulta a la BD.

Favor ayudarme no se que puede ser

2

No se puede espedir datos prima de el header. Espedir el PDF debes eser la prima cosa en el file.

You can't send data before the header. Sending the PDF has to be the first thing in the file.

(Sorry if my Spanish is broken, I'm Italian. wink)
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

3

OK:
<?php
send_my_pdf();
...


NOT OK:
Hello world!
<?php
send_my_pdf();
...
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

4

hi !
iveth (./1) :
Warning: Division by zero in C:\wamp\www\bienes\libreria\html2pdf\html2pdf.class.php on line 2928


have you a td or th with a colspan that is not really usefull ?

could you put here your html code ?
Ancien pseudo : lolo

5

Ah, you're right, that must be the real error, the "FPDF error: Some data has already been output, can't send PDF file" must be the result of that error.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité