View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Can't generate pdf report for planning - ProjeQtOr
 

Can't generate pdf report for planning

More
08 Sep 2020 17:33 #1 by sa
Hello

I a m trying to generate from reports menu, the gant planning of a little project, the duration is about 6 months.
after many minutes, i have this message in the attached file( print) in the screen.
I open the log file of projector and i get this lines:
2020-09-08 14:20:50.938 ***** ERROR ***** [V8.5.3] ERROR *****
2020-09-08 14:20:50.938 ***** ERROR ***** [V8.5.3] on file 'C:\wamp64\www\projectbox\view\objectDetail.php' at line (8906)
2020-09-08 14:20:50.938 ***** ERROR ***** [V8.5.3] cause = ob_get_clean(): failed to discard buffer of zlib output compression (1)
I verify in php.in and confirm the configuration of output conpression: zlib.output_compression = Off
I restart the server and after i never get the error ob_get_clean.


However i can't get the pdf generation from reports menu, i circle the action done in the action.png

in the php_error.log i get these lines:
08-Sep-2020 15:56:45 Europe/Paris] PHP Fatal error: Maximum execution time of 300 seconds exceeded in C:\wamp64\www\projectbox\external\html2pdf\src\Parsing\Css.php on line 1485
[08-Sep-2020 15:56:45 Europe/Paris] PHP Stack trace:
[08-Sep-2020 15:56:45 Europe/Paris] PHP 1. {main}() C:\wamp64\www\projectbox\view\print.php:0
[08-Sep-2020 15:56:45 Europe/Paris] PHP 2. finalizePrint() C:\wamp64\www\projectbox\view\print.php:252
[08-Sep-2020 15:56:45 Europe/Paris] PHP 3. Spipu\Html2Pdf\Html2Pdf->writeHTML() C:\wamp64\www\projectbox\view\print.php:309
[08-Sep-2020 15:56:45 Europe/Paris] PHP 4. Spipu\Html2Pdf\Html2Pdf->_makeHTMLcode() C:\wamp64\www\projectbox\external\html2pdf\src\Html2Pdf.php:611
[08-Sep-2020 15:56:45 Europe/Paris] PHP 5. Spipu\Html2Pdf\Html2Pdf->_executeAction() C:\wamp64\www\projectbox\external\html2pdf\src\Html2Pdf.php:1423
[08-Sep-2020 15:56:45 Europe/Paris] PHP 6. Spipu\Html2Pdf\Html2Pdf->_tag_open_TD() C:\wamp64\www\projectbox\external\html2pdf\src\Html2Pdf.php:1455
[08-Sep-2020 15:56:45 Europe/Paris] PHP 7. Spipu\Html2Pdf\Parsing\Css->analyse() C:\wamp64\www\projectbox\external\html2pdf\src\Html2Pdf.php:5541
[08-Sep-2020 15:56:45 Europe/Paris] PHP 8. Spipu\Html2Pdf\Parsing\Css->getFromCSS() C:\wamp64\www\projectbox\external\html2pdf\src\Parsing\Css.php:653
[08-Sep-2020 15:56:45 Europe/Paris] PHP 9. Spipu\Html2Pdf\Parsing\Css->getReccursiveStyle() C:\wamp64\www\projectbox\external\html2pdf\src\Parsing\Css.php:1435
[08-Sep-2020 13:56:45 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp64\www\projectbox\tool\projeqtor.php on line 1612
[08-Sep-2020 13:56:45 UTC] PHP Stack trace:
[08-Sep-2020 13:56:45 UTC] PHP 1. {main}() C:\wamp64\www\projectbox\tool\checkAlertToDisplay.php:0
[08-Sep-2020 13:56:45 UTC] PHP 2. require_once() C:\wamp64\www\projectbox\tool\checkAlertToDisplay.php:29
[08-Sep-2020 13:56:45 UTC] PHP 3. session_start() C:\wamp64\www\projectbox\tool\projeqtor.php:44
[08-Sep-2020 13:56:45 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\projectbox\tool\projeqtor.php:44
[08-Sep-2020 13:56:45 UTC] PHP 5. projeqtorAutoload() C:\wamp64\www\projectbox\tool\projeqtor.php:44
[08-Sep-2020 13:56:45 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp64\www\projectbox\tool\projeqtor.php on line 44
[08-Sep-2020 13:56:45 UTC] PHP Stack trace:
[08-Sep-2020 13:56:45 UTC] PHP 1. {main}() C:\wamp64\www\projectbox\tool\saveDataToSession.php:0
[08-Sep-2020 13:56:45 UTC] PHP 2. require_once() C:\wamp64\www\projectbox\tool\saveDataToSession.php:30
[08-Sep-2020 13:56:45 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp64\www\projectbox\tool\projeqtor.php on line 44
[08-Sep-2020 13:56:45 UTC] PHP Stack trace:
[08-Sep-2020 13:56:45 UTC] PHP 1. {main}() C:\wamp64\www\projectbox\view\shortcut.php:0
[08-Sep-2020 13:56:45 UTC] PHP 2. require_once() C:\wamp64\www\projectbox\view\shortcut.php:27

Can you help me.
Today we had only 5 project added and we want to go to more than 50 before the end of the year.

Best regards
Attachments:
The topic has been locked.
More
08 Sep 2020 18:00 - 08 Sep 2020 18:01 #2 by babynus
Export of Gantt on Reports uses a very heavy way to export Gantt.
It is the "old" Gantt format (used on older version of ProjeQtOr) that use HTML tables to draw the Gantt.
Then the resulting Gantt chart is exported to PDF using HTML2PDF library. This is very slow and uses much memory on the server.

Fortunately we improved Gantt display on Gantt chart screen.
This does not use HTML tables any more but DIVs and so managed much less HTML dom nodes.
Also, we added a specific PDF export feature, that does not require server. All is done on Client side, and very quickly.
Also you can change page size and zoom ratio.
So please use PDF export on Gantt chart screen, not on Report screen.

Babynus
Administrator of ProjeQtOr web site
Last edit: 08 Sep 2020 18:01 by babynus.
The following user(s) said Thank You: sa
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.033 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.