Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error export tickets with merged tables #63

Open
phamorais opened this issue Jan 10, 2024 · 2 comments
Open

Error export tickets with merged tables #63

phamorais opened this issue Jan 10, 2024 · 2 comments

Comments

@phamorais
Copy link

Hi

I verified that when using GLPI 10.0.0 and PDF 3.0.0, when trying to print a ticket that has a merged table (signature on tickets opened via email) we received a blank screen when trying to print.

Obs: PHP 8.0.27

`[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined variable $cellspacing in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 18351
Backtrace :
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:258 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined variable $cellspacingx in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 18406
Backtrace :
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:258 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key 52 in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 18795
Backtrace :
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:258 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type null in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 18795
Backtrace :
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:258 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "cols" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 16599
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17343 TCPDF->getHtmlDomArray()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "startcolumn" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19649
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "startx" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19650
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "startpage" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19653
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "startpage" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19656
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "" in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19656
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

[2024-01-10 17:19:28] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type null in /var/www/html/glpi/marketplace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php at line 19656
Backtrace :
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:18427 TCPDF->closeHTMLTagHandler()
...lace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:5916 TCPDF->writeHTML()
...ace/pdf/vendor/tecnickcom/tcpdf/tcpdf.php:17238 TCPDF->MultiCell()
marketplace/pdf/inc/simplepdf.class.php:292 TCPDF->writeHTMLCell()
marketplace/pdf/inc/simplepdf.class.php:381 PluginPdfSimplePDF->displayInternal()
marketplace/pdf/inc/simplepdf.class.php:358 PluginPdfSimplePDF->processDataPicture()
marketplace/pdf/inc/ticket.class.php:364 PluginPdfSimplePDF->displayText()
marketplace/pdf/inc/ticket.class.php:494 PluginPdfTicket::pdfMain()
marketplace/pdf/inc/common.class.php:385 PluginPdfTicket::displayTabContentForPDF()
marketplace/pdf/front/export.php:74 PluginPdfCommon->generatePDF()
public/index.php:82 require()

@phamorais
Copy link
Author

Hi @yllen

+1

@phamorais
Copy link
Author

Any?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant