dsufficio Posted October 18, 2014 Share Posted October 18, 2014 salve ho un piccolo problema che non riesco a risolvere e questo: 500 Server ErrorOops, something went wrong.Try to refresh this page or feel free to contact us if the problem persists in effetti questo problema lo da solo nel modulo pagamenti con trasferimento bancario ( quando il cliente decide di finalizzare l'acquisto) qualche consiglio in merito? grazie a tutti Link to comment Share on other sites More sharing options...
dsufficio Posted October 18, 2014 Author Share Posted October 18, 2014 (edited) dimeticavo le versione di prestashop e la 1.6 ho fatto il debug dell'errore eccolo: ----------------------- [PrestaShopException] Can't load Order status at line 174 in file classes/PaymentModule.php 168. 169. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 170. if (!Validate::isLoadedObject($order_status)) 171. { 172. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true); 173. throw new PrestaShopException('Can\'t load Order status'); 174. } 175. 176. if (!$this->active) 177. { 178. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); •PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] •BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] •ControllerCore->run - [line 373 - classes/Dispatcher.php] •DispatcherCore->dispatch - [line 28 - index.php] ------------------------------ Edited October 19, 2014 by dsufficio (see edit history) Link to comment Share on other sites More sharing options...
dsufficio Posted October 19, 2014 Author Share Posted October 19, 2014 dimeticavo le versione di prestashop e la 1.6 ho fatto il debug dell'errore eccolo: ----------------------- [PrestaShopException] Can't load Order status at line 174 in file classes/PaymentModule.php 168. 169. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 170. if (!Validate::isLoadedObject($order_status)) 171. { 172. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true); 173. throw new PrestaShopException('Can\'t load Order status'); 174. } 175. 176. if (!$this->active) 177. { 178. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); •PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] •BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] •ControllerCore->run - [line 373 - classes/Dispatcher.php] •DispatcherCore->dispatch - [line 28 - index.php] ------------------------------ Link to comment Share on other sites More sharing options...
dsufficio Posted October 21, 2014 Author Share Posted October 21, 2014 dimeticavo le versione di prestashop e la 1.6 ho fatto il debug dell'errore eccolo: ----------------------- [PrestaShopException] Can't load Order status at line 174 in file classes/PaymentModule.php 168. 169. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 170. if (!Validate::isLoadedObject($order_status)) 171. { 172. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true); 173. throw new PrestaShopException('Can\'t load Order status'); 174. } 175. 176. if (!$this->active) 177. { 178. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); •PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] •BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] •ControllerCore->run - [line 373 - classes/Dispatcher.php] •DispatcherCore->dispatch - [line 28 - index.php] ------------------------------ qualcuno che puo darmi indicazioni in merito ? gli sarei molto grato grazie qualcuno che puo darmi indicazioni in merito ? gli sarei molto grato grazie Link to comment Share on other sites More sharing options...
Codencode Posted October 22, 2014 Share Posted October 22, 2014 Il problema è che non esiste lo Stato ordine che il sistema tenta di caricare. Dovresti capire a quale id si riferisce la variabile $id_order_state e vedere se esiste negli Stati d'orine. 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