Jump to content

500 errors viewing PDF invoice and delivery slips after update to 1.6.1.5


Recommended Posts

Hi all,

 

Anyone else experiencing 500 error when clicking to view PDF invoice or delivery slip after upgrade to 1.6.1.5

 

Nothing different shown when display errors set to on.

 

Everything was fine before upgrade - previous version 1.6.1.4

 

 

 

Link to comment
Share on other sites

Fixed Invoice 500 error below - My Bad

Had  Override for PDF HTMLTemplateInvoice.php in - override/classes/pdf/HTMLTemplateInvoice.php 

Updated override HTMLTemplateInvoice.php with new file version.

Thanks for response eleazar

 

Still have issue with Delivery slip viewing/creating causing 500 error

Edited by markaussie (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Not the best work around but it works and stops the delivery slip Server 500 error for me on 1.6.1.5

Remove line 95 from below file - $this->pdf_renderer->createPagination($template->getPagination());

 

File- /classes/pdf/PDF.php

Can you post the file because I cant find this in line 95? its needs to added or deleted?

Link to comment
Share on other sites

lovemyseo

 

Open the file and do a search for

$this->pdf_renderer->createPagination($template->getPagination());

 

and delete it if found.

 

also check the file location is /classes/pdf/PDF.php and the override folder should not have a copy override/classes/pdf/PDF.php

 

Make sure you are on PS 1.6.1.5 it is not in 1.6.1.4

 

There is a fix mentioned above but for some reason things seem to have stalled with 1.6.1.x and work is all on 1.7 - sad for us with production shops

 

I stayed on 1.6.1.4 for now 1.6.1.5 didn't feel right.

 

will try update again when I get time.

 

 

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...