klasjulius Posted February 5, 2018 Share Posted February 5, 2018 Hi together, i have a problem with PS 1.7.2.4. when click on 'Download your invoice as PDF' on customers order history page I get HTTP ERROR 500. the link adress is like https://xxxxxxx/index.php?controller=pdf-invoice&id_order=36. In backend i am able to download customers invoice. Does anyone know how to solve this? bye Klaus Link to comment Share on other sites More sharing options...
klasjulius Posted February 7, 2018 Author Share Posted February 7, 2018 hi horiatb, i turned on debug modus and got following errors: in smarty_internal_templatebase.php line 449 at Smarty_Internal_TemplateBase->registerPlugin('function', 'convertPrice', array(object(SmartyLazyRegister), 'convertPrice')) in smarty.config.inc.php line 128 at smartyRegisterFunction(object(SmartyDev), 'function', 'convertPrice', array('Product', 'convertPrice'), true, object(SmartyLazyRegister)) in PDF.php line 76 at PDFCore->__construct(object(PrestaShopCollection), 'Invoice', object(SmartyDev)) in PdfInvoiceController.php line 72 at PdfInvoiceControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 any help? bye Klaus Link to comment Share on other sites More sharing options...
Andrej Stas Posted February 11, 2018 Share Posted February 11, 2018 Do you have a custom theme that you bought from some developer? Or is it the default theme? "ConvertPrice" function was used in themes for Prestashop 1.6, not for Prestashop 1.7 Link to comment Share on other sites More sharing options...
Nicolai_P Posted April 10, 2018 Share Posted April 10, 2018 Hello, I have this same problem, just turned on debug mode and this is the error i get: [PrestaShopException] Property Address->vat_number is empty.at line 944 in file classes/ObjectModel.php 939. } 940. 941. $message = $this->validateField($field, $this->$field); 942. if ($message !== true) { 943. if ($die) { 944. throw new PrestaShopException($message); 945. } 946. return $error_return ? $message : false; 947. } 948. } 949. ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 48 - classes/AddressChecksumCore.php] AddressChecksumCore->generateChecksum - [line 52 - classes/checkout/CartChecksum.php] - [1 Arguments] I have the default theme installed, but this error happens hen i go to my account -> order history and details and click on the "reorder" button on any of my processed orders. Any1 can help me out? :/ Link to comment Share on other sites More sharing options...
selectshop.at Posted April 10, 2018 Share Posted April 10, 2018 Check-out this post,it should solve your problem with address fields (vat incl.): https://www.prestashop.com/forums/topic/738433-500-internal-server-error-check-out-process-ps-172x/?do=findComment&comment=2774461 Link to comment Share on other sites More sharing options...
Nicolai_P Posted April 12, 2018 Share Posted April 12, 2018 Hello, I have changed the proposed file but still throwing the same error, there's a slight difference between the post you referred where the error is provoked by the field id_country and my error which is provoked by : Property Address->vat_number is empty. It may be the same thing, but still the fix you proposed didnt work for me :/ Link to comment Share on other sites More sharing options...
Nicolai_P Posted April 13, 2018 Share Posted April 13, 2018 Bump :C Link to comment Share on other sites More sharing options...
Nicolai_P Posted April 15, 2018 Share Posted April 15, 2018 I've come a long way with Prestashop 1.7, solving many problems I've encountered during development, but still can't figure out how to solve this one. I'd appreciate if someone could take his/her time to point me in the right direction to solve this issue. Please! Link to comment Share on other sites More sharing options...
David Aguilar Posted December 17, 2020 Share Posted December 17, 2020 On 4/15/2018 at 5:38 AM, Nicolai_P said: I've come a long way with Prestashop 1.7, solving many problems I've encountered during development, but still can't figure out how to solve this one. I'd appreciate if someone could take his/her time to point me in the right direction to solve this issue. Please! I have a similar issue when I try to access to order-history in frontend an error is displayed and I am not sure the reason. attach the error, maybe someone has the same issue. 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