Jump to content

Cannot log into BO after fresh install


Recommended Posts

Hi There,

 

I have just installed prestashop and I can't login to the back office. I get the message: 

  1. The Employee does not exist, or the password provided is incorrect.

     

If I try to use the 'forgot password I get the message: This account does not exist

 

Any help greatly appreciated...

Link to comment
Share on other sites

Hi,

 

You should try checking your database to see if the users are present... it won't fix it but its a starting point.

 

Look under the db your install is connected to (if you have multiple dbs), and look under the ps_employee table.

 

Are there any employees listed under this table?

 

Also, was this a fresh install or an upgrade? If its a fresh install are you using the same email as the one you created during the install process?

 

HTH!

  • Like 2
Link to comment
Share on other sites

To further proceed: if it's there open up config/settings.inc.php. Find this line where the cookie key is defined

 

define('_COOKIE_KEY_', '7oxINCn9ihNci5oODOaJPRJyktpRNZQJjtWXgCOKTvHUmABDcskMQ4Vw');

 

Now use an md5 generator like http://www.md5hashgenerator.com/

 

Copy the cookie key and add your new password to it like

 

7oxINCn9ihNci5oODOaJPRJyktpRNZQJjtWXgCOKTvHUmABDcskMQ4Vwtesttest

 

See 'testtest' at the end

 

Md5 it, then paste it into the password field for that employee in the db. It should work

Link to comment
Share on other sites

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