wbtk Posted January 10, 2015 Share Posted January 10, 2015 (edited) Hi, I have Prestashop 1.6.0.9. After a client confirm his order appear a page with Error Server 500. config/defines.inc.php define('_PS_MODE_DEV_', true); Notice: Undefined offset: 0 in classes/Cart.php on line 1440 [PrestaShopDatabaseException] Unknown column 'round_mode' in 'field list' at line 639 in file classes/db/Db.php639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 398 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 480 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 304 - classes/order/Order.php] - [2 Arguments] OrderCore->add - [line 335 - classes/PaymentModule.php] PaymentModuleCore->validateOrder - [line 59 - modules/cashondelivery/controllers/front/validation.php] - [9 Arguments] CashondeliveryValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] You have any hints? Thank you! Edited January 10, 2015 by wbtk (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2015 Share Posted January 10, 2015 hello this is "fresh" prestashop or it's an updated version of prestashop? also, module that you're trying to pay with it's default one? Link to comment Share on other sites More sharing options...
wbtk Posted January 11, 2015 Author Share Posted January 11, 2015 It's fresh version of prestashop. Cash on delivery - default module (v0.7.3 - by PrestaShop). Link to comment Share on other sites More sharing options...
wbtk Posted January 19, 2015 Author Share Posted January 19, 2015 any ideas? Please guys help me with this problem! Link to comment Share on other sites More sharing options...
jayne514 Posted January 26, 2015 Share Posted January 26, 2015 Hi Did you solve this problem ? I am getting the same 500 server error - Unknown column 'round_mode' in 'field list'. Link to comment Share on other sites More sharing options...
wbtk Posted January 26, 2015 Author Share Posted January 26, 2015 Hi Did you solve this problem ? I am getting the same 500 server error - Unknown column 'round_mode' in 'field list'. not yet Link to comment Share on other sites More sharing options...
bertran Posted January 30, 2015 Share Posted January 30, 2015 The solution could be to add column "round_mode" in table "ps_orders" and could be provably also add column "id_tax_rules_group" in table "ps_order_detail" As stated on: https://www.prestashop.com/forums/topic/394979-solucionado-error-500-m%C3%B3dulo-bank-wire-transferencia-bancaria-prestashop-16011/ 1 Link to comment Share on other sites More sharing options...
wbtk Posted February 11, 2015 Author Share Posted February 11, 2015 The solution could be to add column "round_mode" in table "ps_orders" and could be provably also add column "id_tax_rules_group" in table "ps_order_detail" As stated on: https://www.prestashop.com/forums/topic/394979-solucionado-error-500-m%C3%B3dulo-bank-wire-transferencia-bancaria-prestashop-16011/ Thanks! But can you explain how can I add these columns? Link to comment Share on other sites More sharing options...
wbtk Posted February 11, 2015 Author Share Posted February 11, 2015 ok, I add the columns in phpMyAdmin. the problem is solved Link to comment Share on other sites More sharing options...
Recommended Posts