Forum

Generate PDF
 
Notifications
Retirer tout

Generate PDF

9 Posts
4 Utilisateurs
0 Reactions
8,880 Vu
(@sogeti)
Posts: 135
Estimable Member
Début du sujet
 
[#4893]

Hello,

We have a problem with generation of PDF on activities.

The error message is :

ERROR : Une exception est survenue le 2018-01-10 à 11:58:09

Thank you

Best Regards,


 
Posté : 10/01/2018 1:58 pm
(@babynus)
Posts: 14952
Membre Admin
 

Please post error logged in projeqtor log file.
I guess issue is either time limit recheced or max memory reached.
So you'll possibile have to increase parameters in php.in (max_execution_time, memory_limit)


 
Posté : 10/01/2018 4:33 pm
(@sogeti)
Posts: 135
Estimable Member
Début du sujet
 
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4] EXCEPTION **
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4] on file '/var/www/html/external/html2pdf/html2pdf.class.php' at line (1290)
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4] cause = ERROR n°1 : The tag  does not yet exist.If you want to add it, you must create the methods _tag_open_SCRIPT (for opening) and _tag_close_SCRIPT (for closure) by following the model of existing tags.If you create these methods, do not hesitate to send me an email to webmaster@html2pdf.fr to included them in the next version of HTML2PDF.
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4]    => #0 /var/www/html/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4]    => #1 /var/www/html/external/html2pdf/html2pdf.class.php (2756) -> _makeHTMLcode()
2018-01-10 15:01:13.604 ** ERROR ** [V6.4.4]    => #2 /var/www/html/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_DIV()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #3 /var/www/html/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #4 /var/www/html/external/html2pdf/html2pdf.class.php (5516) -> _makeHTMLcode()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #5 /var/www/html/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_TD()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #6 /var/www/html/external/html2pdf/html2pdf.class.php (1249) -> _executeAction()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #7 /var/www/html/external/html2pdf/html2pdf.class.php (5516) -> _makeHTMLcode()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #8 /var/www/html/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_TD()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #9 /var/www/html/external/html2pdf/html2pdf.class.php (1249) -> _executeAction()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #10 /var/www/html/external/html2pdf/html2pdf.class.php (2756) -> _makeHTMLcode()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #11 /var/www/html/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_DIV()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #12 /var/www/html/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #13 /var/www/html/external/html2pdf/html2pdf.class.php (437) -> _makeHTMLcode()
2018-01-10 15:01:13.605 ** ERROR ** [V6.4.4]    => #14 /var/www/html/view/print.php (241) -> writeHTML()
2018-01-10 15:01:13.605 ** ERROR ***** [V6.4.4]    => #15 /var/www/html/view/print.php (185) -> finalizePrint()

Best Regards,


 
Posté : 10/01/2018 5:04 pm
(@babynus)
Posts: 14952
Membre Admin
 

This issue is fixed on V6.5.2


 
Posté : 10/01/2018 5:32 pm
(@shadow_tag)
Posts: 2
New Member
 

Hi, I have exactly the same problem. My version is v6.5.3
Trying to print a technical meeting. Same error. Log:

2018-02-07 17:47:17.995 ** ERROR ** [V6.5.3] EXCEPTION **
2018-02-07 17:47:17.995
** ERROR ** [V6.5.3] on file '/volume1/web/projeqtor/external/html2pdf/html2pdf.class.php' at line (1290)
2018-02-07 17:47:17.996
** ERROR ** [V6.5.3] cause = ERROR n°1 : The tag <SCRIPT> does not yet exist.If you want to add it, you must create the methods _tag_open_SCRIPT (for opening) and _tag_close_SCRIPT (for closure) by following the model of existing tags.If you create these methods, do not hesitate to send me an email to webmaster@html2pdf.fr to included them in the next version of HTML2PDF.
2018-02-07 17:47:17.996
** ERROR ** [V6.5.3] => #0 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-02-07 17:47:17.996
** ERROR ** [V6.5.3] => #1 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (2756) -> _makeHTMLcode()
2018-02-07 17:47:17.997
** ERROR ** [V6.5.3] => #2 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_DIV()
2018-02-07 17:47:17.997
** ERROR ** [V6.5.3] => #3 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-02-07 17:47:17.998
** ERROR ** [V6.5.3] => #4 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (5516) -> _makeHTMLcode()
2018-02-07 17:47:17.998
** ERROR ** [V6.5.3] => #5 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_TD()
2018-02-07 17:47:17.998
** ERROR ** [V6.5.3] => #6 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1249) -> _executeAction()
2018-02-07 17:47:17.999
** ERROR ** [V6.5.3] => #7 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (5516) -> _makeHTMLcode()
2018-02-07 17:47:17.999
** ERROR ** [V6.5.3] => #8 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_TD()
2018-02-07 17:47:17.000
** ERROR ** [V6.5.3] => #9 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1249) -> _executeAction()
2018-02-07 17:47:17.000
** ERROR ** [V6.5.3] => #10 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (2756) -> _makeHTMLcode()
2018-02-07 17:47:17.000
** ERROR ** [V6.5.3] => #11 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1294) -> _tag_open_DIV()
2018-02-07 17:47:18.001
** ERROR ** [V6.5.3] => #12 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (1263) -> _executeAction()
2018-02-07 17:47:18.001
** ERROR ** [V6.5.3] => #13 /volume1/web/projeqtor/external/html2pdf/html2pdf.class.php (437) -> _makeHTMLcode()
2018-02-07 17:47:18.001
** ERROR ** [V6.5.3] => #14 /volume1/web/projeqtor/view/print.php (241) -> writeHTML()
2018-02-07 17:47:18.002
** ERROR ***** [V6.5.3] => #15 /volume1/web/projeqtor/view/print.php (185) -> finalizePrint()


 
Posté : 07/02/2018 12:48 pm
(@babynus)
Posts: 14952
Membre Admin
 

Can you please migrate to V6.5.5 (last stable) and tell me if you still reproduce on this version.
Do you have any plugin installed ?
Do you have any customization on meeting ?


 
Posté : 07/02/2018 12:56 pm
(@shadow_tag)
Posts: 2
New Member
 

Hi, I do not have any customizations or plugins.
May I ask how could I migrate to the new version? Is just to download the files and overwrite or I should reinstall from scratch?
Thank you!

Edit: Ok, I found how to do it: https://www.projeqtor.org/fr/64-product-en/product-technical-en/setup-en/413-product-setup-en


 
Posté : 27/02/2018 7:13 am
(@cikrikci)
Posts: 13
Active Member
 

Hi,

We are using V 6.0.8 . When we covert "total expense and cost report " to Pdf , pdf isnt comprise exactly. When you look attached file ,you can see the right side of report is incomplete. There should be also 2018 data.

Thanks..


 
Posté : 02/03/2018 11:35 am
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

First concider migrating to V6.5.6 (we don't support old V6.0 any more)

Then, pdf export has some constraints, one one them is that it does not operate automatic zooming.
So if you try and export large table, bigger than page width, it will be truncated.
Sometines, silmple print using a pdf printer (such as PDF creator or windows Print To Pdf) will give better result (but not sure)


 
Posté : 02/03/2018 5:44 pm
Share:
Retour en haut