Michstuff Posted December 1, 2016 Share Posted December 1, 2016 Ik heb onlangs de error:( Fatal error: Class 'FPDF' not found in /home/credmb1q/public_html/classes/PDF.php on line 18 ) als ik een pdf wil openen bij bestellingen..wat kan dit veroorzaakt hebben en wat kan ik er aan doen om dit op te lossen? Link to comment Share on other sites More sharing options...
Michstuff Posted December 1, 2016 Author Share Posted December 1, 2016 als ik cachingsysteem: Bestandssysteem aan zet krijg ik zelf volgende error: Fatal error: Uncaught Error: Undefined class constant 'TEMPLATE_INVOICE' in /home/credmb1q/public_html/controllers/admin/AdminPdfController.php:204 Stack trace: #0 /home/credmb1q/public_html/controllers/admin/AdminPdfController.php(61): AdminPdfControllerCore->generateInvoicePDFByIdOrderInvoice('667') #1 /home/credmb1q/public_html/classes/controller/AdminController.php(917): AdminPdfControllerCore->processGenerateInvoicePdf() #2 /home/credmb1q/public_html/controllers/admin/AdminPdfController.php(31): AdminControllerCore->postProcess() #3 /home/credmb1q/public_html/classes/controller/Controller.php(178): AdminPdfControllerCore->postProcess() #4 /home/credmb1q/public_html/classes/Dispatcher.php(367): ControllerCore->run() #5 /home/credmb1q/public_html/admin3662/index.php(58): DispatcherCore->dispatch() #6 {main} thrown in /home/credmb1q/public_html/controllers/admin/AdminPdfController.php on line 204 Link to comment Share on other sites More sharing options...
Michstuff Posted December 1, 2016 Author Share Posted December 1, 2016 ook na uit zette cache zelfde error nu Link to comment Share on other sites More sharing options...
Michstuff Posted December 1, 2016 Author Share Posted December 1, 2016 ik heb nu van php 5.6 naar 5.4 gegaan en nu is de erro al wat minder: Fatal error:Undefined class constant 'TEMPLATE_INVOICE' in /home/credmb1q/public_html/controllers/admin/AdminPdfController.php on line 204 Link to comment Share on other sites More sharing options...
Michstuff Posted December 1, 2016 Author Share Posted December 1, 2016 (edited) the file AdminPdfController.php Edited December 1, 2016 by Michstuff (see edit history) Link to comment Share on other sites More sharing options...
ecommerce16 Posted December 7, 2016 Share Posted December 7, 2016 (edited) Probeer PhP 7 eens. Ik weet niet of het helpt, het lijkt alsof er wat mist bij de pdf bestanden, of dat daar iets in is gewijzigd. Edited December 7, 2016 by Curious (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now