Doctrine Posted November 23, 2014 Report Posted November 23, 2014 Hello, Not uploaded logo or invoice background. When i want to click to view... i got this error: TCPDF ERROR: Some data has already been output, can't send PDF file Any suggestion? Quote
0 Paul Posted November 23, 2014 Report Posted November 23, 2014 There may be an error just prior to trying to render the PDF invoice, or something else. Try enabling error reporting and see if any errors are displayed. To enable error reporting, edit /config/blesta.php and change Configure::errorReporting(0); to Configure::errorReporting(-1); Quote
0 Doctrine Posted November 23, 2014 Author Report Posted November 23, 2014 There may be an error just prior to trying to render the PDF invoice, or something else. Try enabling error reporting and see if any errors are displayed. To enable error reporting, edit /config/blesta.php and change Configure::errorReporting(0); to Configure::errorReporting(-1); Call to a member function download() on a non-object on line 233 in /components/invoice_delivery/invoice_delivery.php 233 line: $this->buildInvoices($invoices)->download(); Quote
0 Tyson Posted November 24, 2014 Report Posted November 24, 2014 You may want to check that your invoice templates exist on the file system and that the template set for the company is correctly set to one of those. In Blesta, under [settings] -> [Company] -> [billing/Payment] -> [invoice Customization], the setting "Invoice Template" should be set to Default or Quickbooks. Try re-saving these values. These files should exist: /components/invoice_templates/default_invoice/ /components/invoice_templates/default_invoice/language/ /components/invoice_templates/default_invoice/language/en_us/ /components/invoice_templates/default_invoice/language/en_us/default_invoice.php /components/invoice_templates/default_invoice/default_invoice.php /components/invoice_templates/default_invoice/default_invoice_pdf.php /components/invoice_templates/quickbooks_invoice/ /components/invoice_templates/quickbooks_invoice/language/ /components/invoice_templates/quickbooks_invoice/language/en_us/ /components/invoice_templates/quickbooks_invoice/language/en_us/quickbooks_invoice.php /components/invoice_templates/quickbooks_invoice/quickbooks_invoice.php /components/invoice_templates/quickbooks_invoice/quickbooks_invoice_pdf.php /components/invoice_templates/invoice_template.php /components/invoice_templates/invoice_templates.php /components/invoice_templates/tcpdf_wrapper.php If everything looks good, then it would be helpful to know where and what action you performed in Blesta that led to this issue. Quote
Question
Doctrine
Hello,
Not uploaded logo or invoice background. When i want to click to view... i got this error: TCPDF ERROR: Some data has already been output, can't send PDF file
Any suggestion?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.