Helios-BP Posted August 12, 2013 Share Posted August 12, 2013 Bonjour à tous, Aujourd'hui lorsque je veux ajouter une valeur a un attribut j'ai le message ci-dessous. Lorsque je regarde une valeur vierge a bien était créée et je peux la modifier ? Quelqu'un a t-il une piste ? Cordialement Sylvain [PrestaShopDatabaseException] Duplicate entry '63-1' for key 'PRIMARY' INSERT INTO `ps_attribute_shop` (`id_attribute`, `id_shop`) VALUES ('63', '1') at line 607 in file classes/db/Db.php 601. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);602. }603. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))604. {605. if ($sql)[color=#F20000][b]606. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');[/b][/color]607. throw new PrestaShopDatabaseException($this->getMsgError());608. }609. }610. 611. /**[/font][/color][b]DbCore->displayError[/b] - [line 307 - classes/db/Db.php] - [1 Arguments] [b]DbCore->query[/b] - [line 581 - classes/db/Db.php] - [1 Arguments] [b]DbCore->q[/b] - [line 372 - classes/db/Db.php] - [2 Arguments] [b]DbCore->insert[/b] - [line 480 - classes/ObjectModel.php] - [3 Arguments] [b]ObjectModelCore->add[/b] - [line 111 - classes/Attribute.php] - [2 Arguments] [b]AttributeCore->add[/b] - [line 680 - classes/controller/AdminController.php] - [size=3][0 Argument][/size] [b]AdminControllerCore->processAdd[/b] - [line 387 - controllers/admin/AdminAttributesGroupsController.php] - [size=3][0 Argument][/size] [b]AdminAttributesGroupsControllerCore->processAdd[/b] - [line 572 - controllers/admin/AdminAttributesGroupsController.php] - [size=3][0 Argument][/size] [b]AdminAttributesGroupsControllerCore->processSave[/b] - [line 629 - controllers/admin/AdminAttributesGroupsController.php] - [1 Arguments] [b]AdminAttributesGroupsControllerCore->postProcess[/b] - [line 158 - classes/controller/Controller.php] - [size=3][0 Argument][/size] [b]ControllerCore->run[/b] - [line 349 - classes/Dispatcher.php] - [size=3][0 Argument][/size] [b]DispatcherCore->dispatch[/b] - [line 50 - admin3551/index.php] - [size=3][0 Argument][/size] Link to comment Share on other sites More sharing options...
Helios-BP Posted August 12, 2013 Author Share Posted August 12, 2013 Bon j'ai l'impression que c'est lorsque il y a un espace dans l'url. D'ailleurs au passage si qq'un pouvais m'expliquer la navigation à facettes 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