Jump to content

PDF invoices not generating after upgrade to 1.2.5


Recommended Posts

Hello:

I upgraded my old 1.1 site to 1.2.5. Everything seems to work except for the PDF invoice generating function. When I click on any invoice from an order I get the following message onscreen: Invalid date

Any ideas on what's going on or a possible fix?

Thanks!

Link to comment
Share on other sites

  • 1 year later...

This is an old theme but anyway, here is a solution. When you are upgrading Prestashop, you have to copy some files fom previous versions to the latest version, if you modified PDF.php and PDF.html or if you added some extra Fonts.

These files are:
/prestashop/classes/PDF.php
/prestashop/classes/PDF.html
/prestashop/tools/fpdf/font/your-font.php

Hope, this helps,

Cheers :P

Housy

Link to comment
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...