Jump to content

Employee does not exist or bad password


Recommended Posts

Hi Guys, I have read the thread relevant to this error: employee does not exist or bad password, but still I'm having problem logging-in to the BackOffice, I have tried resetting the password under, ps_employee and regenerate a new MD5 password, but still the same error occurs. PrestaShop v1.0 is what I have just installed (new installation, not upgrade). PHP 5.0 is on an running on my web host.

Please help.

Many thanks.

Link to comment
Share on other sites

I just successfully installed PrestaShop, but I cannot log in to Back Office. When I enter my email address and password, the form clears itself and I do not get anywhere. I tried it with www. and without it and I still got the same results…I also reset my password and still nothing. What else should I do?

Thanks.

Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...

The file/folder permissions has NOTHING to do with this error.

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 :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword
Submit the form and copy the generated MD5 hash which is like :
c838e4909b92e180e6428e85c15b003d

3/ 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.

  • Like 4
Link to comment
Share on other sites

  • 4 weeks later...

That problem is solved by creating a new employee in the database in the employee table with any password, waiting 360 minutes to regenerate the password, and requesting that you send a new password to your mail, but the emails you send, still do not indicate who sends them ...

Link to comment
Share on other sites

e-mails without sender, problems to enter in admin panel.

This is a problem that I encountered when installing version 1.5 and that made me go back to 1.4, losing time and data.

You have to go to your hosting -> Mysql -> phpmyadmin -> your database ---> employee table ---> insert and there you create a new employee wit any password you want.

Then back in your browser to try to enter as administrator.

She will tell you can not enter.

You wait 360 minutes and regenerate a new password from the screen to enter in admin panel and it overwrites the one you created and that send your email with new password. Now you can enter, but your outgoing messages by creating orders, appear with unknown sender and hotmail treat them as spam.

Try on administration ---> preferences ---> contact--->details to create one, but I would not let me and I had to go back to version 1.4. Many hours without sleep for nothing!!!.

This is a bug of 1.5 version? I don't know many cases, but is my and your case

Best regards

  • Like 1
Link to comment
Share on other sites

  • 9 months later...
  • 3 months later...
The file/folder permissions has NOTHING to do with this error.

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 :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword
Submit the form and copy the generated MD5 hash which is like :
c838e4909b92e180e6428e85c15b003d

3/ 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.


------------------------------------------------------------------

This Worked for me. Thanks for the Valuable Information.
Link to comment
Share on other sites

  • 2 months later...
The file/folder permissions has NOTHING to do with this error.

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 :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword
Submit the form and copy the generated MD5 hash which is like :
c838e4909b92e180e6428e85c15b003d

3/ 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.


That solves my problem in localhost. Now i can enter in the Back office.
Thank you.
Link to comment
Share on other sites

  • 4 weeks later...

Hi,

Same issue here, Error with admin password.

I tried everything with as per treads above

settings.inc.php - copy Cookies

Add my password at the end, copy it and went to MD5 Generator. Copy Hash

Open MySQL and ps_employee : input Hash where my email is with function MD5 for the field.

Then go back to Back end admin login....but nothing.

Can I add a new user for admin with new email?

I don't know if I clear but if you can help will be great?

Also (might help) , if I click on lost my password and put my email that I use for install. It's say please you can generate password every 360 minutes?

Can we change time via DB?Maybe it will work and I will get a link with new password generated?

thanks for help
Oli

Link to comment
Share on other sites

Hi,

Same issue here, Error with admin password.

I tried everything with as per treads above

settings.inc.php - copy Cookies

Add my password at the end, copy it and went to MD5 Generator. Copy Hash

Open MySQL and ps_employee : input Hash where my email is with function MD5 for the field.

Then go back to Back end admin login....but nothing.

Can I add a new user for admin with new email?

I don't know if I clear but if you can help will be great?

Also (might help) , if I click on lost my password and put my email that I use for install. It's say please you can generate password every 360 minutes?

Can we change time via DB?Maybe it will work and I will get a link with new password generated?

thanks for help
Oli

That works for me and others.
Be careful to follow correctly all the steps.
You can create a new employee with new mail but the way is the same (MD5 hash etc).
If creating a new user works the method here too.
One time you change the password in phpmyadmin don't click lost password after.
If you have configured the mail correctly (i think it isn't) pressing lost password sends you a link to your mail. Do you receive it?
Try changing the password used for MD5 hash. 8-lenght with one number and one character.
Link to comment
Share on other sites

Thanks for prompt answer.

I did a try today reset my password and I received a email with new password but when I input. nothing happen and I stay in the login admin page.

Before I did not receive the link because I did put *admin@mydomain via my hosting company and I changed so my email it's working.

So at the minute. I have a new password but I do not go to the next page?

So I gonna to try the method as above and see

Link to comment
Share on other sites

The file/folder permissions has NOTHING to do with this error.

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 :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :
ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword
Submit the form and copy the generated MD5 hash which is like :
c838e4909b92e180e6428e85c15b003d

3/ 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.


you are my hero manm it works
  • Like 1
Link to comment
Share on other sites

Hi,

It's not working.

In the setting.inc.php . I remenber that I change the value (Try something before I read this post )

If it is not the original cookie key value? Could be an issue?

Oli


ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nYOURNEWPASSWORD
you need add the new password at the end of md5 key before go to http://www.md5.cz/ hash the code

and then add to sql

42712_sryCr50TEtxJ9l0hVqbu_t

Link to comment
Share on other sites

Hi,

Thx for the help but unfortunately, it doesn't work and I don't know why.

When I go to BO and type my new password, it's does not work and I stay in the same page.

As I wrote previously

cookies key has been change in the setting.inc.phd and I think the .htacess has been change too.

I plan to lost my datas and reinstall prestashop.

I notice that it's a recurrent bug. How many people has been affected by this passwrod admin issue?

Thx again.

oli

Link to comment
Share on other sites

all I can say is that this 1.4 version is nothing but a heartache for me. I can't login at all. I digress, I was having the same issue getting past step 3 in installing a fresh copy of 1.4. I have, for the last 6 hours, uninstalled and reinstalled another download, thinking I may have gotten a corrupt version, to no avail. everything in the posts I have done. and re-done. Now it won't let me install the 1.3 version. SSSSUUUUUCCCCCKKKKSSSSSS!!!!!!! I have been a PS proponent for over 3 years. Not on this one. I have also built 3 new databases. I can't fricking beleive that after all these years I am stuck with this one. Oh, and if it means anything, I am using the same Godaddy Linux host acct. I have had for over 5 years. Of course, PHP5, etc. I'm tired and disgusted. Not really looking for any more advice, just venting. I am going to look at a less worthy cart- zencart. I have to have something working. I know it will work, you can't even kill those things. SEN

Link to comment
Share on other sites

  • 3 weeks later...

Thanks for the info as above. I have managed to input a new email and password however, once i am logged in i cant actually do anything. none of the tabs show up and its access is denied to any of the quick links. How do i change this?

44522_NU2ueeabysh6d5TH7Our_t

Link to comment
Share on other sites

  • 9 months later...

After moving prestashop store to another server, I failed to login to the backend page. I got the message ‘employee does not exist, or bad password’

Reason:

Cookies don’t match:

Solution:

Update the employee’s password with matching cookie:

SQL:

 

 

UPDATE employee SET passwd = md5(<COOKIE_KEY><yourNewPassword>)

WHERE email = “youremailaddress”;

You can find cooking key in the config/settings.inc.php

 

 

define(’COOKIE_KEY‘, ‘cccccccccccccc’);

E.g

 

 

UPDATE employee

SET passwd = md5("ccccccccccccccYOURNEWPASSWORD")

WHERE email = "youremailaddress";

Password (new as old) must have at least 8 characters!

 

 

PS: I did these,but it still didn't work ! try any methods ..finally ,i found the reason ,after you did these step ,you must clear your ie cookies , that's the point here .

Link to comment
Share on other sites

  • 1 month later...

The file/folder permissions has NOTHING to do with this error.

 

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 :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

 

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword

Submit the form and copy the generated MD5 hash which is like :

c838e4909b92e180e6428e85c15b003d

 

3/ 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.

 

This worked for me on version 1.4.2.5. Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

Thanks a lot for this. I have completed to installing of my online store. When I try to login to the back-end, tell me that the "employee does not exist or password is incorrect." Then I order to Prestashop send me other password. I think I must to wait for the answer.

Link to comment
Share on other sites

The file/folder permissions has NOTHING to do with this error.

 

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 :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

 

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword

Submit the form and copy the generated MD5 hash which is like :

c838e4909b92e180e6428e85c15b003d

 

3/ 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.

 

 

 

I tried to do this but I can't solve my problem... I have to search more. Thanks a lot.

Link to comment
Share on other sites

The file/folder permissions has NOTHING to do with this error.

 

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 :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0n

 

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword

Submit the form and copy the generated MD5 hash which is like :

c838e4909b92e180e6428e85c15b003d

 

3/ 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.

 

seriously worked.

Link to comment
Share on other sites

I tried to do this but I can't solve my problem... I have to search more. Thanks a lot.

 

just focus on this step :

 

2/ Open http://www.md5.fr or http://www.md5.cz and in the field, past the copied string immediately followed (without space) by your password :

ugVz7xCw9mYzkUWL1285CCyLb5dQOyNgnTxXDrGP0LZNBLrzKTvWyC0nmypassword

Submit the form and copy the generated MD5 hash which is like :

c838e4909b92e180e6428e85c15b003d

Link to comment
Share on other sites

  • 4 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...