nacxo Posted September 15, 2016 Share Posted September 15, 2016 (edited) Despues de realizar un update a la versión 1.6.1.7 el sistema me devuelve varios errores: 1.- En el front al añadir un producto a la cesta: Impossible to add the product to the cart.textStatus: 'error'errorThrown: 'Internal Server Error'responseText: [PrestaShopDatabaseException] Duplicate entry '0' for key 'PRIMARY' INSERT INTO `ps_cart` (`id_shop_group`, `id_shop`, `id_address_delivery`, `id_address_invoice`, `id_carrier`, `id_currency`, `id_customer`, `id_guest`, `id_lang`, `recyclable`, `gift`, `gift_message`, `mobile_theme`, `delivery_option`, `secure_key`, `allow_seperated_package`, `date_add`, `date_upd`) VALUES ('1', '1', '0', '0', '0', '1', '0', '2114133', '1', '0', '0', '', '0', '', '', '0', '2016-09-15 09:42:39', '2016-09-15 09:42:39') at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) {787. $dbg = debug_backtrace();788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {790. if ($sql) {791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');792. }793. 794. throw new PrestaShopDatabaseException($this->getMsgError());795. }796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 763 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 514 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 487 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 196 - classes/Cart.php] - [2 Arguments] CartCore->add - [line 279 - controllers/front/CartController.php] CartControllerCore->processChangeProductInCart - [line 73 - controllers/front/CartController.php] CartControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] 2.- En el backoffice no puedo aceder al catalogo y al acceder a diferentes zonas me muestra el siguiente error: Warning on line 40 en archivo /var/www/vhosts/demonsshop.com/httpdocs/modules/mailjet/mailjet.php[2] include_once(/var/www/vhosts/demonsshop.com/httpdocs/tools/swift/Swift.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directoryWarning on line 40 en archivo /var/www/vhosts/demonsshop.com/httpdocs/modules/mailjet/mailjet.php[2] include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/vhosts/demonsshop.com/httpdocs/tools/swift/Swift.php' for inclusion (include_path='/var/www/vhosts/demonsshop.com/httpdocs/tools/htmlpurifier/standalone:.:')Warning on line 41 en archivo /var/www/vhosts/demonsshop.com/httpdocs/modules/mailjet/mailjet.php[2] include_once(/var/www/vhosts/demonsshop.com/httpdocs/tools/swift/Swift/Connection/SMTP.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directoryWarning on line 41 en archivo /var/www/vhosts/demonsshop.com/httpdocs/modules/mailjet/mailjet.php[2] include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/vhosts/demonsshop.com/httpdocs/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='/var/www/vhosts/demonsshop.com/httpdocs/tools/htmlpurifier/standalone:.:') Además en lineas generales la web va lentisima tanto en el front como el back. Agradecería vuestra ayuda para solucionarlo. Gracias. Edited September 15, 2016 by nacxo (see edit history) Link to comment Share on other sites More sharing options...
carlosalfonso Posted January 8, 2019 Share Posted January 8, 2019 Oh, tengo el mismo problema, pienso puede ser algo con la db o la version de prestashop. Lo extraño es que todo funcionaba bn, hasta que migre a un servidor. Si tienes alguna sugerencia, le agradeceria algun tip que me ayude, Saludos 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