João Correia Posted October 27, 2013 Share Posted October 27, 2013 When i try to submit an order (with every type of payment modules, except paypal) it will open a white page and doesn't save the order or send any confirmation message. (site adress is http://www.all4trail.com/store) When i try to do a manual order it also reports an error: Link to comment Share on other sites More sharing options...
guest* Posted October 27, 2013 Share Posted October 27, 2013 Due to you post isn't written in Portuguese language, it was moved to the Englisch Forum section. If you want assistance in Portuguese language so please write in the Brazialian Forum only in Portuguese language. Thank you. Link to comment Share on other sites More sharing options...
bellini13 Posted October 27, 2013 Share Posted October 27, 2013 you have an override on your PaymentModule class... why don't you provide more details on what you are trying to do. Link to comment Share on other sites More sharing options...
João Correia Posted October 27, 2013 Author Share Posted October 27, 2013 I have "Bank Wire", "Pagamento Multibanco", "Paypal", "Payment by check". In Front Office when i try to confirm an order it opens a white page with the message: Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. When i change "defines.inc.php" to "define('_PS_MODE_DEV_', true)" it reports this: Strict Standards: Declaration of Cart::getOrderTotal() should be compatible with that of CartCore::getOrderTotal() in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php on line 180Strict Standards: Declaration of Cart::getPackageShippingCost() should be compatible with that of CartCore::getPackageShippingCost() in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php on line 180Strict Standards: Declaration of CartRule::update() should be compatible with that of CartRuleCore::update() in /home/tecnoave/public_html/all4trail.com/store/override/classes/CartRule.php on line 53Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Notice: Undefined property: Cart::$mobile_theme in /home/tecnoave/public_html/all4trail.com/store/classes/PaymentModule.php on line 232Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1Parse error: syntax error, unexpected ';' in /home/tecnoave/public_html/all4trail.com/store/override/classes/Cart.php(141) : eval()'d code on line 1 [PrestaShopDatabaseException]Unknown column 'mobile_theme' in 'field list' INSERT INTO `ps_orders` (`id_address_delivery`, `id_address_invoice`, `id_cart`, `id_currency`, `id_shop_group`, `id_shop`, `id_lang`, `id_customer`, `id_carrier`, `current_state`, `secure_key`, `payment`, `module`, `recyclable`, `gift`, `gift_message`, `mobile_theme`, `total_discounts`, `total_discounts_tax_incl`, `total_discounts_tax_excl`, `total_paid`, `total_paid_tax_incl`, `total_paid_tax_excl`, `total_paid_real`, `total_products`, `total_products_wt`, `total_shipping`, `total_shipping_tax_incl`, `total_shipping_tax_excl`, `carrier_tax_rate`, `total_wrapping`, `total_wrapping_tax_incl`, `total_wrapping_tax_excl`, `shipping_number`, `conversion_rate`, `invoice_number`, `delivery_number`, `invoice_date`, `delivery_date`, `valid`, `reference`, `date_add`, `date_upd`) VALUES ('12', '12', '199', '1', '1', '1', '7', '2', '17', '0', '3a48ebb9af067c4efdefd4a52ef006da', 'Transferência Bancária', 'bankwire', '0', '0', NULL, '0', '0', '0', '0', '46', '46', '37.4', '0', '37.4', '46', '0', '0', '0', '23', '0', '0', '0', NULL, '1', '0', '0', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0', 'EHHXBCNQY', '2013-10-27 14:34:03', '2013-10-27 14:34:03')at line 613 in file classes/db/Db.php 607. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);608. }609. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))610. {611. if ($sql)612. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');613. throw new PrestaShopDatabaseException($this->getMsgError());614. }615. }616.617. /** DbCore->displayError - [line 313 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 587 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 378 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 455 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 282 - classes/order/Order.php] - [2 Arguments] OrderCore->add - [line 263 - classes/PaymentModule.php] - [0 Argument] PaymentModuleCore->validateOrder - [line 18 - override/classes/PaymentModule.php] - [10 Arguments] PaymentModule->validateOrder - [line 65 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
João Correia Posted October 27, 2013 Author Share Posted October 27, 2013 I've read again the log and i found this line: "Unknown column 'mobile_theme' in 'field list'" I used MySQL-Front and created a new field in "ps_orders" and solved the problem. Thanks for your help. (How can i turn the post to solved state?) Link to comment Share on other sites More sharing options...
bellini13 Posted October 27, 2013 Share Posted October 27, 2013 you just edit the original topic and update the subject line 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