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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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