Hello, I operate multiple ISPC3-Server with billing Addons for myself and my resellers. Unfortunately has one Standalone Server stoppt creating PDF invoides. Because all Servers should have the same setup and update status, it's unclear to me where the error originates from. I've traced the error fron the invoice_edit.php: Code: Fatal error: Uncaught Error: Failed opening required 'unifont/ttfonts.php' (include_path='.:/usr/share/php:/usr/local/ispconfig/interface/lib/classes/') in /usr/local/ispconfig/interface/web/billing/lib/tfpdf/tfpdf.php:507 Stack trace: #0 /usr/local/ispconfig/interface/web/billing/templates/pdf_invoice/default/make_pdf_invoice.php(334): tFPDF->AddFont() #1 /usr/local/ispconfig/interface/web/billing/invoice_edit.php(359): PDFInvoice_default->createInvoice() #2 /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php(135): page_action->onAfterUpdate() #3 /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php(95): tform_actions->onUpdate() #4 /usr/local/ispconfig/interface/web/billing/invoice_edit.php(47): tform_actions->onSubmit() #5 /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php(69): page_action->onSubmit() #6 /usr/local/ispconfig/interface/web/billing/invoice_edit.php(396): tform_actions->onLoad() #7 {main} thrown in /usr/local/ispconfig/interface/web/billing/lib/tfpdf/tfpdf.php on line 507 So maybe the include_path is missing the '/usr/local/ispconfig/interface/web/billing/lib/tfpdf/fonts' ? But that path isn't present on the other servers either. If manually added the path to the include_path in the Error changes to: Code: Can't open file unifont/DejaVuSansCondensed.ttf With no further infomation give. The 'unifont/DejaVuSansCondensed.ttf' file is there. But I don't know from where the system tries to open it if not from the tfpdf.php . No other Server shows the same Problem. I've copied first he lib/tfpdf/-folder, and finally the complete web/billing/-folder from a functioning server to this one. With no success. Threfore I've restored the original fodlers again. Infos: Debian 11.11 (Bullseye) ISPConfig 3.3.0p3 PHP 7.4.33 (cli) php-fpdf: Installiert: 3:1.8.2.dfsg-1 One more Error exists that differentiate from the other systems, but I does not expect to be relevant. ISPC3 shows: Code: Error executing jk_init command: Has anybody else had thsi error or can help?
Looks to me as if the PHP version is not compatible with the Billing Module version, e.g. using PHP 8.x with an older Billing version. I'm pretty sure you run a different PHP version in that instance than on the other ones. Add an info.php file with phpinfo() function and check the version that is used by the .php files in the website (not commandline php) by requesting the info.php using https://. This is done by TFPDF.
Thanks! Thats was a quick reply and exactly whats the problem! I had tunnel vision watching the cli -Version only. It's the billing Site not the cli!! php 7.4.33 is working, php8.2.29 was not.