tozi Posted January 15, 2014 Share Posted January 15, 2014 (edited) 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 statusat 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 March 28, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 turn on error reporting, then instead of blank page you will see full error code (what and where doesn't work) Link to comment Share on other sites More sharing options...
tozi Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) I added it up. Even so, I do not know how to fix it I am looking for a solution on the forums but so far I have found nothing that worked. Edited January 16, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
tozi Posted January 16, 2014 Author Share Posted January 16, 2014 Any idea? pls Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 it looks like your payment order state doesn't exist. please check 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) Link to comment Share on other sites More sharing options...
Diego Galma Posted March 26, 2014 Share Posted March 26, 2014 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) Link to comment Share on other sites More sharing options...
vekia Posted March 28, 2014 Share Posted March 28, 2014 glad to hear that, hope that it also works for Tozi - author of this topic. may i know what ps version you use, Diego? Link to comment Share on other sites More sharing options...
tozi Posted March 28, 2014 Author Share Posted March 28, 2014 Yes Milos. Works great. Link to comment Share on other sites More sharing options...
vinruud Posted August 5, 2014 Share Posted August 5, 2014 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 More sharing options...
Diego Galma Posted August 5, 2014 Share Posted August 5, 2014 (edited) 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 August 5, 2014 by Diego Galma (see edit history) Link to comment Share on other sites More sharing options...
vinruud Posted August 5, 2014 Share Posted August 5, 2014 (edited) 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: and this is what I see in Order>Statutes What should I do now? Edited August 5, 2014 by vinruud (see edit history) Link to comment Share on other sites More sharing options...
Diego Galma Posted August 5, 2014 Share Posted August 5, 2014 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 Link to comment Share on other sites More sharing options...
triversal Posted February 21, 2015 Share Posted February 21, 2015 (edited) 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 February 21, 2015 by triversal (see edit history) Link to comment Share on other sites More sharing options...
shaun_imakr Posted March 3, 2015 Share Posted March 3, 2015 I had the same problem and finally realised it's because I ticked at some stage Invoice option. After deactivating it, I'm not getting the blank page anymore 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