Pr3torian Posted September 6, 2016 Share Posted September 6, 2016 I have ps 1.6.1.5 shop installed and everything works fine except that I cant generate Delivery notes... I have made test orders and everything is OK Change status to under preparation and button comes available to press. when pressing it a new window opens and I get an error... It's a Http error 500. I googled it and it says internal server error.... but internal error with what ?? Can any1 plz help me out ? Thanks in advance ! /Daniel Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 6, 2016 Share Posted September 6, 2016 Please try repeating the steps after enabling error debugging for your PrestaShop store and post the errors that are generated in this process, so that we can guide you accordingly. FYI, to enable error debugging you can follow the steps below. - open file: config/defines.inc.php (using FTP or hosting control panel) - change false-->true: define('_PS_MODE_DEV_', false); define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
Pr3torian Posted September 6, 2016 Author Share Posted September 6, 2016 Debug mode gives me this : Fatal error: Uncaught Error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in /customers/5/1/b/glittrigating.se/httpd.www/classes/pdf/PDF.php:95 Stack trace: #0 /customers/5/1/b/glittrigating.se/httpd.www/controllers/admin/AdminPdfController.php(210): PDFCore->render() #1 /customers/5/1/b/glittrigating.se/httpd.www/controllers/admin/AdminPdfController.php(171): AdminPdfControllerCore->generatePDF(Object(PrestaShopCollection), 'DeliverySlip') #2 /customers/5/1/b/glittrigating.se/httpd.www/controllers/admin/AdminPdfController.php(83): AdminPdfControllerCore->generateDeliverySlipPDFByIdOrder(1) #3 /customers/5/1/b/glittrigating.se/httpd.www/classes/controller/AdminController.php(909): AdminPdfControllerCore->processGenerateDeliverySlipPDF() #4 /customers/5/1/b/glittrigating.se/httpd.www/controllers/admin/AdminPdfController.php(31): AdminControllerCore->postProcess() #5 /customers/5/1/b/glittrigating.se/httpd.www/classes/controller/Controller.php(178): AdminPdfControllerCore->postProcess() #6 /customers/5 in /customers/5/1/b/glittrigating.se/httpd.www/classes/pdf/PDF.php on line 95 Thankful for any help further... //Daniel Link to comment Share on other sites More sharing options...
rocky Posted September 8, 2016 Share Posted September 8, 2016 It's a bug that's been fixed in the latest version of PrestaShop. See the fix here. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 8, 2016 Share Posted September 8, 2016 After following Rocky answer we have made correction in both required files of Prestashop 1.6.1.5 and attaching both files for your convenience. In case you are not sure where to make requied changes, you can move files from attached zip file to /classes/pdf/ dierctory of your server. fix for pdf issue.zip Link to comment Share on other sites More sharing options...
Pr3torian Posted September 8, 2016 Author Share Posted September 8, 2016 Thank you all for the help !! //Daniel Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now