Ticket #456 (new defect)
Opened 16 months ago
Bug with Invoice PDF Prints
| Reported by: | jmoore@… | Owned by: | brieb |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | phpbms | Version: | 0.98 |
| Keywords: | Cc: |
Description
When we have an invoice with more product items than will fit on one page, it errors out when we print an invoice. I just recently learned about it but it has been going on for some time. I asked Dave whey he was splitting up large orders and he told me about the problem/error.
Here is the error that is displayed.....
phpBMS Error: -420 Database Error Commands out of sync; you can't run this command now Statement: SELECT file, UPPER(type) AS type FROM files WHERE id=1 db->query in /var/www/printing/report/pdfreport_class.php on line 235 phpbmsPDFReport->Header in /var/www/printing/fpdf/fpdf.php on line 340 FPDF->AddPage? in /var/www/printing/fpdf/tpl_and_memimage.php on line 290 FPDF_TPL->AddPage? in /var/www/printing/modules/bms/report/invoices_pdf_class.php on line 279 invoicePDF->_addPage in /var/www/printing/modules/bms/report/invoices_pdf_class.php on line 687 invoicePDF->_addLineItems in /var/www/printing/modules/bms/report/invoices_pdf_class.php on line 249 invoicePDF->generate in /var/www/printing/modules/bms/report/invoices_pdfinvoice.php on line 59