Jump to content
  • 0

Presta 1.6.0.14 Can't Load Order Status


Robert93

Question

Mam problem z prestą 1.6.0.14 Po złożeniu zamówienia i kliknięciu "Potwierdzam zamówienie" wyskakuje strona z błędem 500, a zamówienie nie zostaje złożone.

To samo dzieje się przy płatności przelewem i przy odbiorze.

Tryb debugowania pokazuje to:
 

 

 

[PrestaShopException]

Can't load Order status
at line 178 in file classes/PaymentModule.php

173. 174. 		$order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);175. 		if (!Validate::isLoadedObject($order_status))176. 		{177. 			PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true);178. 			throw new PrestaShopException('Can\'t load Order status');179. 		}180. 181. 		if (!$this->active)182. 		{183. 			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]
    59. 			'{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),60. 			'{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),61. 			'{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))62. 		);63. 64. 		$this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);65. 		Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key);66. 	}67. }
    Argument [0]171Argument [1]10Argument [2]167Argument [3]przelew na kontoArgument [4]Argument [5]Array(    [{bankwire_owner}] => wlasciciel konta    [{bankwire_details}] => nr konta    [{bankwire_address}] => bank )Argument [6]1Argument [7]Argument [8]5cb92b5d194180099d96b6d681933c1f
  • BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php]
    166. 			// setMedia MUST be called before postProcess167. 			if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))168. 				$this->setMedia();169. 170. 			// postProcess handles ajaxProcess171. 			$this->postProcess();172. 173. 			if (!empty($this->redirect_after))174. 				$this->redirect();175. 176. 			if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    368. 			// Execute hook dispatcher369. 			if (isset($params_hook_action_dispatcher))370. 				Hook::exec('actionDispatcher', $params_hook_action_dispatcher);371. 372. 			// Running controller373. 			$controller->run();374. 		}375. 		catch (PrestaShopException $e)376. 		{377. 			$e->displayMessage();378. 		}
  • DispatcherCore->dispatch - [line 28 - index.php]
    23. *  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)24. *  International Registered Trademark & Property of PrestaShop SA25. */26. 27. require(dirname(__FILE__).'/config/config.inc.php');28. Dispatcher::getInstance()->dispatch();

 

Link to comment
Share on other sites

1 answer to this question

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...