Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Export to pdf doesn...
 
Notifications
Clear all

Export to pdf doesn't work in reports

4 Posts
2 Users
0 Reactions
4,019 Views
 ED
(@ed22)
Posts: 27
Active Member
Topic starter
 
[#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()


 
Posted : 12 Mar 2018 16H15
babynus
(@babynus)
Posts: 14966
Main Contributor 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


 
Posted : 12 Mar 2018 16H29
 ED
(@ed22)
Posts: 27
Active Member
Topic starter
 

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


 
Posted : 12 Mar 2018 16H34
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 12 Mar 2018 22H29
Share:

Scroll to Top