Forum

Export to pdf doesn...
 
Notifications
Retirer tout

Export to pdf doesn't work in reports

4 Posts
2 Utilisateurs
0 Reactions
3,984 Vu
 ED
(@ed22)
Posts: 27
Trusted Member
Début du sujet
 
[#5013]

I modified an existing report, added new parameters, and new fields on displaying the results, but now the button Export to Pdf doesn't work. The file Print works. Here is the log file.

2018-03-12 13:03:06.144 ===== TRACE ===== DISCONNECTED USER 'admin'
2018-03-12 13:03:29.423 ** ERROR ** [V6.3.0] EXCEPTION **
2018-03-12 13:03:29.428
** ERROR ** [V6.3.0] on file 'C:xampphtdocsprojeqtorexternalhtml2pdf_classparsingHtml.class.php' at line (118)
2018-03-12 13:03:29.432
** ERROR ** [V6.3.0] cause = ERROR n°4 : HTML code invalid, the tags are not closed in an orderly fashion.Status : Array
(
[0] => page
[1] => table
[2] => tr
[3] => tr
)
HTML : ...style="width:20%;">2

...
2018-03-12 13:03:29.437 ** ERROR ** [V6.3.0] => #0 C:xampphtdocsprojeqtorexternalhtml2pdfhtml2pdf.class.php (436) -> parse()
2018-03-12 13:03:29.441
** ERROR ** [V6.3.0] => #1 C:xampphtdocsprojeqtorviewprint.php (239) -> writeHTML()
2018-03-12 13:03:29.445
** ERROR ***** [V6.3.0] => #2 C:xampphtdocsprojeqtorviewprint.php (183) -> finalizePrint()


 
Posté : 12/03/2018 4:15 pm
(@babynus)
Posts: 14952
Membre Admin
 

Error is clear :

ERROR n°4 : HTML code invalid, the tags are not closed in an orderly fashion.Status : Array

You did not correctly open / close some tags


 
Posté : 12/03/2018 4:29 pm
 ED
(@ed22)
Posts: 27
Trusted Member
Début du sujet
 

I got that, but the problem is that with other reports it works, but with this one no. And I wanted to know if it had something to do with the fact that i changed some parameters and other things on this report


 
Posté : 12/03/2018 4:34 pm
(@babynus)
Posts: 14952
Membre Admin
 

Yes, you have to fix the issue you introduced...
Check you html result : some tags are not correctly closed.


 
Posté : 12/03/2018 10:29 pm
Share:
Retour en haut