Jump to content
techtech

1.6.1.23: Unable to View Invoice (Unable to Generate Invoice)

Recommended Posts

I recently migrated over to a new host and I'm unable to generate/download an invoice from the order or customer page. I upgraded from 1.6.1.17 to 1.6.1.23 and lost the function to click the customer's invoice and get a downloaded PDF.

The result opens a new tab and results with:

 This page isn’t working

"example.com" is currently unable to handle this request.
HTTP ERROR 500

Any thoughts?

Share this post


Link to post
Share on other sites

Using debug mode on the "HTTP ERROR 500" screen:

Parse error: syntax error, unexpected end of file, expecting ')' in "path"/tools/tcpdf/fonts/dejavusans.php on line 14

 

Host: Godaddy
PrestaShop Version: 1.6.1.23
System: Linux
PHP Version: 5.6.36

Edited by techtech (see edit history)

Share this post


Link to post
Share on other sites

Resolved the issue. The file dejavusans.php was not fully uploaded by FTP when migrating; was 80% of the backup copy. I copied the code of a backup dejavusans.php file into the current dejavusans.php file. Solved and downloading invoices.

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