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.

Generate PDF
 
Notifications
Clear all

Generate PDF

9 Posts
4 Users
0 Reactions
8,906 Views
(@sogeti)
Posts: 135
Active Member
Topic starter
 
[#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,


 
Posted : 10 Jan 2018 13H58
babynus
(@babynus)
Posts: 14966
Main Contributor 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)


 
Posted : 10 Jan 2018 16H33
(@sogeti)
Posts: 135
Active Member
Topic starter
 
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,


 
Posted : 10 Jan 2018 17H04
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

This issue is fixed on V6.5.2


 
Posted : 10 Jan 2018 17H32
(@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()


 
Posted : 07 Feb 2018 12H48
babynus
(@babynus)
Posts: 14966
Main Contributor 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 ?


 
Posted : 07 Feb 2018 12H56
(@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


 
Posted : 27 Feb 2018 7H13
(@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..


 
Posted : 02 Mar 2018 11H35
babynus
(@babynus)
Posts: 14966
Main Contributor 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)


 
Posted : 02 Mar 2018 17H44
Share:

Scroll to Top