Vilda Posted May 5, 2016 Share Posted May 5, 2016 For some of my orders are invoices generated correctly but are not accessible using the "view invoice" button. Instead of it only "without invoice" is shown. Why is this and how can I fix it? Link to comment Share on other sites More sharing options...
tuk66 Posted May 6, 2016 Share Posted May 6, 2016 It is known issue when the database is slightly corrupted because of failed order process. One or more tables contain incomplete data. Link to comment Share on other sites More sharing options...
Vilda Posted May 7, 2016 Author Share Posted May 7, 2016 Thank you for a hint, tuk66! There were missing data in invoice_number and delivery_number columns of the orders table in the DB. Fortunately these "numbers" were stored in the order_invoice table. So I manually copied these numbers a synced the database. The root cause of this is most probably the malfunction of PDF generation in the latest update: https://www.prestashop.com/forums/topic/520530-print-delivery-slips-pdf-error/ (this was fixed by replacing all files in the /classes/pdf and /pdf directories by the files from backed up version 1.6.1.4) Link to comment Share on other sites More sharing options...
tuk66 Posted May 9, 2016 Share Posted May 9, 2016 Great! The most important question is: Will it happen again? Ty chybějící údaje v některých tabulkách bývají často přiznakem nedokončení objednávkového procesu. Jednoduše to skončí v půlce. Těžko se to odlaďuje, protože to bývá náhodné. Pokud je to tento náhodný proces, tak bývá na vině server - timeout nebo paměť a to hlavně za velkého provozu - zatížení serveru. Link to comment Share on other sites More sharing options...
Vilda Posted May 9, 2016 Author Share Posted May 9, 2016 Will it happen again? Hard to say! ;-) There are two possible sources why this happened: Caching at the server side (as I have to admit I was experimenting with some setting combinations and some of them did not work really well) Module "Edit Order" - again - some experiments with this mighty tool. (combination of 1&2) No problems since that time & 50+ new orders! (a teď dám prostě jen na modlení, no... ) 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