Jump to content
Michstuff

Http 500 error bij openen pdf facturen in prestashop 1.6.1.9

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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 by Curious (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More