Jump to content

[SOLVED]blank page bankwire modul


tozi

Recommended Posts

Hi all, i have big problem with modul bankwire. I have blank page in validation.

Look page http://horeka-shop.cz/

 

I have version prestashop 1.5.6.1

 

debug:

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

if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')
142. 			$context_country = $this->context->country;
143. 
144. 		$order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
145. 		if (!Validate::isLoadedObject($order_status))
146. 			throw new PrestaShopException('Can\'t load Order state status');
147. 
148. 		if (!$this->active)
149. 			die(Tools::displayError());
150. 		// Does order already exists ?
151. 		if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false)

PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments]

8. 			'{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),
59. 			'{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),
60. 			'{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))
61. 		);
62. 
63. 		$this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);
64. 		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);
65. 	}
66. }

BankwireValidationModuleFrontController->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]

152. 			// setMedia MUST be called before postProcess
153. 			if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
154. 				$this->setMedia();
155. 
156. 			// postProcess handles ajaxProcess
157. 			$this->postProcess();
158. 
159. 			if (!empty($this->redirect_after))
160. 				$this->redirect();
161. 
162. 			if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))

ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]

			// Execute hook dispatcher
343. 			if (isset($params_hook_action_dispatcher))
344. 				Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
345. 
346. 			// Running controller
347. 			$controller->run();
348. 		}
349. 		catch (PrestaShopException $e)
350. 		{
351. 			$e->displayMessage();
352. 		}

DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument]

22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23. * International Registered Trademark & Property of PrestaShop SA
24. */
25.
26. require(dirname(__FILE__).'/config/config.inc.php');
27. Dispatcher::getInstance()->dispatch();
28. 
Edited by tozi (see edit history)
Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...

Many thanks for this solution... it fix my presta... 

 

ps_configuration table for Configuration::get('PS_OS_BANKWIRE') field

what ID you see there? does this ID exist on order states list? (orders > statuses tab in bo)

 Hi! I have the same problem.

 

Could you please tell me what you did exactly? I'm going mad.

 

Thank you in advance

Link to comment
Share on other sites

Hi vinruud... I fix doing this:

 

In the data base true the phpmyAdmin... you can see the ps_configuration table http://prntscr.com/49qt51 for Configuration::get('PS_OS_BANKWIRE') field http://prntscr.com/49qufe what ID you see there? http://prntscr.com/49qvw4 does this ID exist on order states list? http://prntscr.com/49qvrs (orders > statuses tab in bo)

Edited by Diego Galma (see edit history)
Link to comment
Share on other sites

 

Hi vinruud... I fix doing this:
 
In the data base true the phpmyAdmin... you can see the ps_configuration table http://prntscr.com/49qt51 for Configuration::get('PS_OS_BANKWIRE') field http://prntscr.com/49qufe what ID you see there? http://prntscr.com/49qvw4 does this ID exist on order states list? http://prntscr.com/49qvrs (orders > statuses tab in bo)

 

 Hi Diego! Thanks for the quick reply.

 

 Anyway, I checked all the things you said. This is what I see in phpmyadmin: post-810024-0-21984900-1407239956_thumb.png

 

and this is what I see in Order>Statutes  post-810024-0-08066100-1407240127_thumb.png

What should I do now?

Edited by vinruud (see edit history)
Link to comment
Share on other sites

  • 6 months later...

You dont have any Gateway installed.... ? http://prntscr.com/49r842 in payments modules... have you any installed? http://prntscr.com/49r8fw and ACTIVE PAYMENT? http://prntscr.com/49r8us

Hi Diego,

 

İ have same problem, and i checked my database, i cant see (PS_OS_BANKWIRE) table  in ps_configration table.. My DB sheme: http://prntscr.com/67vpgo . How can i create this table? 

Edited by triversal (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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...