daryl Posted March 15, 2008 Share Posted March 15, 2008 Hi! Can anybody help me? I installed prestashop in localserver using wamp, I've been using it for two months and everything just fine until now. I can't login to admin section. I entered right email and right password (maybe not) employee does not exist, or bad password so I use the "lost password" link but the message never arrive to my email. Is there a way I can reset my password? Link to comment Share on other sites More sharing options...
Bruno Leveque Posted March 15, 2008 Share Posted March 15, 2008 Hi daryl, Did you try to verify mail() configuration in your php.ini file ? SMTP server might be wrong. Best regards, Link to comment Share on other sites More sharing options...
daryl Posted March 17, 2008 Author Share Posted March 17, 2008 I didn't verify that, so if I use gmail then how is the configuration should be? Thanks! Link to comment Share on other sites More sharing options...
Pursuant Posted March 17, 2008 Share Posted March 17, 2008 Your localhost does not have SMTP set up... so there is no way for it to send the password. :- --Kevin Link to comment Share on other sites More sharing options...
citra Posted May 22, 2009 Share Posted May 22, 2009 I have the same problem with kevin and i install it on my localhost. If i lost my password, do you have any idea to log in or reset my password. Thank you Link to comment Share on other sites More sharing options...
lemon Posted June 2, 2009 Share Posted June 2, 2009 that's the big problem.many guys have such problem .but my dear prestashop didn't solved it . Link to comment Share on other sites More sharing options...
moonmosaic Posted June 2, 2009 Share Posted June 2, 2009 i sort of overcame this problem by someone here suggesting to eliminate the password authentication in prestashop/admin123 (or whatever you named it after install)/login.phpgo to line 47 and change thiselseif (!Validate::isPasswd($passwd)) $errors[] = Tools::displayError('invalid password');to this: /*elseif (!Validate::isPasswd($passwd)) $errors[] = Tools::displayError('invalid password');*/This is just temporary and will not work if you leave it like this after moving your shop to a different directory so don't forget to change it back before you do that.The best way to overcome the password issue when updating database is:install prestashop with new admin passwordexport ps_employee table.sql that has the new passwordimport old database that has the old passworddrop ps_employee table that has the old passwordimport ps_employee table.sql that has the new passwordFor any other issues I have no idea, these are the ones I have had and managed to resolve.Good luck everyone! Link to comment Share on other sites More sharing options...
Patric Posted June 7, 2009 Share Posted June 7, 2009 The simplest way to generate a new password (for example "mypassword") is as follows :1/ Open /config/settings.inc.php and copy the _COOKIE_KEY_ value, a string like :ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n2/ Open www.md5.fr or www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypasswordSubmit the form and copy the generated MD5 hash which is like :c838e4909b92e180e6428e85c15b003d3/ In your database, in the ps_employe table, locate the record that contains the e-mail address you want to use to connect to the BO, modify this record, and past the MD5 hash in the passwd field. Submit the form.4/ Connect to the BO. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted September 24, 2009 Share Posted September 24, 2009 O Patric, thanks for this tips. previously I think the password is just md5(pass). Link to comment Share on other sites More sharing options...
PatrickJose Posted October 1, 2009 Share Posted October 1, 2009 Sincerly, I think only the hash md5 is not safe Link to comment Share on other sites More sharing options...
TropischBruin Posted October 1, 2009 Share Posted October 1, 2009 Sincerly, I think only the hash md5 is not safe Do not start a second discussion in this topic. For this type of discussion we have the Security forum. Link to comment Share on other sites More sharing options...
safa Posted October 20, 2009 Share Posted October 20, 2009 patric is perfect, Link to comment Share on other sites More sharing options...
dandumit Posted May 24, 2011 Share Posted May 24, 2011 it doesn't work on 1.4.1 .. Link to comment Share on other sites More sharing options...
shokinro Posted May 24, 2011 Share Posted May 24, 2011 there is another way to recovery your password by bypassing authentication temporary if you have access your site source code.see the solution 2 of this post Link to comment Share on other sites More sharing options...
Recommended Posts