Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114
Prestashop Reset password dipendente da PHPMyAdmin

Prestashop Reset password : effettuare un reset password di un dipendente direttamente tramite PHPMyAdmin

Per chi non ne fosse a conoscenza, Prestashop oltre a cryptare la password in MD5, inserisce un ulteriore stringa di codifica.

UPDATE `ps_employee` SET `passwd` = MD5('<_COOKIE_>password') WHERE `ps_employee`.`id_employee` = 1;

La parte di stringa dove intervenire ovviamente sono 2, una di queste come potrete immagina re è MD5( ‘<_COOKIE_>password’ ). Il <_COOKIE_>, dovrà essere sostituito con la stringa che trovate in settings.inc.php nella cartella config/, mentre subito dopo al posto di password, è necessario scrivere la vostra nuova password.

mentre =1 a fine stringa dovrà essere sostituito con l’ID dell’operatore a cui volete cambiare password.

Se l’ID dell’operatore è il 2, il risultato della stringa da inserire in PHPMyAdmin sarà qualcosa tipo

UPDATE `ps_employee` SET `passwd` = MD5('23786s87dHBHBSD78BSDH76SD76mianuovapass') WHERE `ps_employee`.`id_employee` = 2;