View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error with print to pdf - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

Error with print to pdf

More
20 Déc 2016 14:34 #1 by pipobru
Hello i have this error when i use printtopdf function in planning:
2016-12-20 14:14:51.083 ***** ERROR ***** EXCEPTION *****
2016-12-20 14:14:51.083 ***** ERROR ***** on file '/var/www/html/external/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php' at line (2927)
2016-12-20 14:14:51.083 ***** ERROR ***** cause = TCPDF ERROR: Some data has already been output, can't send PDF file
2016-12-20 14:14:51.083 ***** ERROR ***** => #0 /var/www/html/external/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php (7620) -> Error()
2016-12-20 14:14:51.083 ***** ERROR ***** => #1 /var/www/html/external/html2pdf/html2pdf.class.php (390) -> Output()
2016-12-20 14:14:51.083 ***** ERROR ***** => #2 /var/www/html/view/print.php (239) -> Output()
2016-12-20 14:14:51.083 ***** ERROR ***** => #3 /var/www/html/view/print.php (183) -> finalizePrint()

I have solve with this modification:
In /var/www/html/view/print.php i have add this line: ob_end_clean(); after line 238 ($html2pdf->writeHTML($html2pdf->getHtmlFromPage($content));)

Please Connexion or Create an account to join the conversation.

More
20 Déc 2016 14:44 #2 by babynus
Replied by babynus on topic Error with print to pdf
Hi,

Thnaks for the workaround.
It will be included in next version / patch

But source is due to incorrecly ended class file.
Could you tell us what did you want to export as PDF when you got the issue ?

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
20 Déc 2016 14:49 #3 by pipobru
Replied by pipobru on topic Error with print to pdf
I would to export my gantt planning. Print gantt planning is very important for display in office or communicate by PDF with customer.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.045 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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