Forum

Issue exporting PDF...
 
Notifications
Retirer tout

Issue exporting PDF opportunities - HTML error

8 Posts
2 Utilisateurs
0 Reactions
12.9 {numéro}K Vu
(@rexeh)
Posts: 85
Active Member
Début du sujet
 
[#1633]

When running the PDF export on opportunities on V4.0.6

2014-02-19 15:58:45 ** ERROR ** on file '/var/www/html/oria/external/html2pdf/_class/parsingHtml.class.php' at line (119)
2014-02-19 15:58:45 ** ERROR ** cause = ERROR n°4 : HTML code invalid, the tags are not closed in an orderly fashion.Status : Array
(
[0] => page
[1] => table
)
HTML : ...style="width:15%;">

...
2014-02-19 15:58:45 ** ERROR ** => #0 /var/www/html/oria/external/html2pdf/html2pdf.class.php (407) -> parse()
2014-02-19 15:58:45 ** ERROR ** => #1 /var/www/html/oria/view/print.php (159) -> writeHTML()
2014-02-19 15:58:45 ** ERROR ** => #2 /var/www/html/oria/view/print.php (143) -> finalizePrint()
[ec2-user@ip-172-31-46-13 logs]$ tail projector_20140219.log
2014-02-19 16:07:37 ** ERROR ** on file '/var/www/html/oria/external/html2pdf/_class/parsingHtml.class.php' at line (119)
2014-02-19 16:07:37 ** ERROR ** cause = ERROR n°4 : HTML code invalid, the tags are not closed in an orderly fashion.Status : Array
(
[0] => page
[1] => table
)
HTML : ...style="width:15%;">

...
2014-02-19 16:07:37 ** ERROR ** => #0 /var/www/html/oria/external/html2pdf/html2pdf.class.php (407) -> parse()
2014-02-19 16:07:37 ** ERROR ** => #1 /var/www/html/oria/view/print.php (159) -> writeHTML()
2014-02-19 16:07:37 ** ERROR ** => #2 /var/www/html/oria/view/print.php (143) -> finalizePrint()


 
Posté : 19 Fév PM 19:022
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

I could not reproduce this issue.
See attached file...

Do you have somethng special in your opporunity description ? Something that could look like an html tag ?
Could you provide a print screen of the oppotunity ?


 
Posté : 20 Fév AM 01:022
(@rexeh)
Posts: 85
Active Member
Début du sujet
 

Hello,

Can't post content as it's sensitive, however I can tell you we have:

- A HTML link as external source (includes = char)
- Description contains & and ( ) chars

There are notes present, as well as pictures on some of them. The notes contain no additional characters that the description does, so must be one of these.


 
Posté : 20 Fév PM 21:022
(@babynus)
Posts: 14952
Membre Admin
 

Could not reproduce even with your information...
See attached result of test.

Could you try and reproduce on the Demo ?


 
Posté : 20 Fév PM 23:022
(@rexeh)
Posts: 85
Active Member
Début du sujet
 

Hello,

Think I know why we can't reproduce here!

I'm talking about the Report (Current Status > Opportunity Plan > Export to PDF). If you pop on skype I could send that over if you still can't reproduce!

Regards,

Rob


 
Posté : 21 Fév PM 17:022
(@babynus)
Posts: 14952
Membre Admin
 

I'm talking about the Report (Current Status > Opportunity Plan > Export to PDF

This report is not part of the Community Version. :woohoo:
I guess you designed it on your own... 😉
... and maybe that's why pdf export fails. 👿
... and sure that's why I cannot reproduce B)


 
Posté : 21 Fév PM 17:022
(@rexeh)
Posts: 85
Active Member
Début du sujet
 

We are on standard version, nothing special here 🙂


 
Posté : 21 Fév PM 17:022
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

I got it.
Sorry.
(This report is not enabled by default, so I did not see it)

So now I could reproduce.
Ticket #1304 recorded.


 
Posté : 21 Fév PM 18:022
Share:
Retour en haut