Perte du mot de passe administrateur de prestashop®
publié 1 février 2025 fichier sous PrestaShop 1-6, PrestaShop 1-7, PrestaShop 8, PrestaShop®Sur prestashop 1.7 & 8.x :
Dans le fichier app/config/parameters.php (à ouvrir avec un client FTP), il y a une ligne cookie_key de type : ‘cookie_key’ => ‘Q8yorXw1FjnvvrUA5i4Bo6tKGHP6BP6ncnx5r4ctuVobdTxweLFBh9pA’,
Sur prestashop 1.6 :
Dans le fichier config/settings.inc.php (à ouvrir avec un client FTP), il y a une ligne COOKIE_KEY de type :
ex :define(‘_COOKIE_KEY_’, ‘Q8yorXw1FjnvvrUA5i4Bo6tKGHP6BP6ncnx5r4ctuVobdTxweLFBh9pA’);
il faut copier la clé ex: Q8yorXw1FjnvvrUA5i4Bo6tKGHP6BP6ncnx5r4ctuVobdTxweLFBh9pA
Ensuite il faut utiliser un encypteur md5 (par exemple ici : http://www.cryptage-md5.com/)
dans le champ prévu, il faut coller la clé puis sans espace le mot de passe :
ex : Q8yorXw1FjnvvrUA5i4Bo6tKGHP6BP6ncnx5r4ctuVobdTxweLFBh9pAmonmotdepasse
Apres voir cliqué sur le bouton du site, une nouvelle chaine de caractères est générée.
catégories: PrestaShop 1-6, PrestaShop 1-7, PrestaShop 8, PrestaShop®
balises: admin, md5, mot de passe, passwd, perte, prestashop®