Jump to content

Duplicate entry '1-2147483647' for key 'id_ebay_profile'


Recommended Posts

Bonjour a tous voila depuis la mise a jour du module ebay j'ai ce message d'erreur :

 

 

[PrestaShopDatabaseException]

Duplicate entry '1-2147483647' for key 'id_ebay_profile'
 

INSERT INTO `ps_ebay_store_category` (`id_ebay_profile`, `ebay_category_id`, `name`, `order`, `ebay_parent_category_id`) VALUES ('1', '2147483647', 'LG', '1', '2147483647')
at line 635 in file classes/db/Db.php

 

629.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
630.         }
631.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
632.         {
633.             if ($sql)
634.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
635.             throw new PrestaShopDatabaseException($this->getMsgError());
636.         }
637.     }
638.
639.     /**

 

j'ai désinstaller et réinstaller mais sans succès j'ai meme supprimer puis recharger le module mais ça n'a pas marché, j'ai aussi supprimer les entrés dans la table en question mais le problème revient merci de m'aider si vous le pouvez.

Link to comment
Share on other sites

  • 2 weeks later...

anyway, if someone will have the same problem - in this case to fix it it is necessary to alter database datas.

in table ps_ebay_store_category it's necessary to remove entry mentioned in error code.

in this case it's:
[PrestaShopDatabaseException]

Duplicate entry '1-2147483647' for key 'id_ebay_profile'

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...