lbriet Posted February 16, 2015 Share Posted February 16, 2015 Hey guys, For some reason I'm not managing to retrieve the PDF invoices for a handful of orders. The following error is shown: An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx. Have checked the orders database, nothing seems different about these particular orders. Anyone with similar experiences or an idea why this could be happening? Link to comment Share on other sites More sharing options...
bellini13 Posted February 16, 2015 Share Posted February 16, 2015 Did you attempt to look at the error log that the message is referring too? Link to comment Share on other sites More sharing options...
lbriet Posted February 16, 2015 Author Share Posted February 16, 2015 Am not sure what error log it's referring to, or where to look. The link redirects to a page hosted by nginx. The log in my prestashop back-office doesn't show anything related to the error. Link to comment Share on other sites More sharing options...
lbriet Posted February 16, 2015 Author Share Posted February 16, 2015 I'm an idiot for not digging into that error log part. Thanks for that, bellini.Located the log on server, and retrieved the following: 2015/02/16 15:42:23 [error] 3539#0: *849612 FastCGI sent in stderr: "PHP message: PHP Warning: include(/public/translations/en/pdf.php): failed to open stream: No such file or directory in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(): Failed opening '/public/translations/en/pdf.php' for inclusion (include_path='/public/tools/htmlpurifier/standalone:.:/usr/share/php:/usr/share/pear') in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(/public/translations/en/pdf.php): failed to open stream: No such file or directory in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(): Failed opening '/public/translations/en/pdf.php' for inclusion (include_path='/public/tools/htmlpurifier/standalone:.:/usr/share/php:/usr/share/pear') in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(/public/translations/en/pdf.php): failed to open stream: No such file or directory in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(): Failed opening '/public/translations/en/pdf.php' for inclusion (include_path='/public/tools/htmlpurifier/standalone:.:/usr/share/php:/usr/share/pear') in /public/classes/Translate.php on line 214PHP message: PHP Warning: include(/public/translations/en/pdf.php): failed to open stream: No such file or directory in /public/classes/Translate.php on line 214 Seems like there's a problem with the translations. Will look into it. Link to comment Share on other sites More sharing options...
lbriet Posted February 16, 2015 Author Share Posted February 16, 2015 Uploaded the missing pdf.php translation file. Solved! Again, thanks bellini Link to comment Share on other sites More sharing options...
bellini13 Posted February 16, 2015 Share Posted February 16, 2015 There you go! nicely done Link to comment Share on other sites More sharing options...
Recommended Posts