salutecenter Posted January 11, 2015 Share Posted January 11, 2015 Salve, da qualche ora dopo aver aggiornato prestashop alla versione 1.7.0.11 ho riscontrato questo problema. Facendo un acquisto e pagando con qualsiasi metodo di pagamento alla conferma dell'ordine apparte una pagina 505 internal server error: 500 Server ErrorOops, something went wrong.Try to refresh this page or feel free to contact us if the problem persists. Creando un ordine da back office al momento della creazione ordine mi da errore di questo tipo: [PrestaShopException]Can't save Orderat line 340 in file classes/PaymentModule.php 335. $result = $order->add();336.337. if (!$result)338. {339. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order cannot be created', 3, null, 'Cart', (int)$id_cart, true);340. throw new PrestaShopException('Can\'t save Order');341. }342.343. // Amount paid by customer is not the right one -> Status = payment error344. // We don't use the following condition to avoid the float precision issues : http://www.php.net/manual/en/language.types.float.php345. // if ($order->total_paid != $order->total_paid_real) PaymentModuleCore->validateOrder - [line 1098 - controllers/admin/AdminOrdersController.php] - [9 Arguments] AdminOrdersControllerCore->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] se volete provare il sito è www.salutecenter.it I permessi sono gia settati in maniera corretta file e cartelle, ho gia provato a backuppare il db ma niente il problema persiste. Ho provato a cercare ma nessun topic è simile, qui il problema è pagando in qualsiasi maniera non paypal e basta. VI PREGO AIUTATEMI Link to comment Share on other sites More sharing options...
Luigi Massa Posted January 12, 2015 Share Posted January 12, 2015 salve, per vedere l'errore corretto modifica il file config/define.inc.php da: define('_PS_MODE_DEV_', false); a: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
salutecenter Posted January 12, 2015 Author Share Posted January 12, 2015 Ok grazie, settando quello mi da errore anche solo entrando su "ordini" dal backoffice [PrestaShopDatabaseException]Unknown column 'last_connection_date' in 'where clause' UPDATE `ps_employee` SET `last_connection_date` = CURRENT_DATE() WHERE `id_employee` = 1 AND `last_connection_date`< CURRENT_DATE() at line 639 in file classes/db/Db.php 634. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);635. }636. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))637. {638. if ($sql)639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');640. throw new PrestaShopDatabaseException($this->getMsgError());641. }642. }643.644. /** DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 473 - classes/db/Db.php] - [1 Arguments] DbCore->execute - [line 460 - classes/Employee.php] - [1 Arguments] EmployeeCore::setLastConnectionDate - [line 2445 - classes/controller/AdminController.php] - [1 Arguments] AdminControllerCore->init - [line 163 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] 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