Jump to content

Accessing admin area


Recommended Posts

Hi,

I have just installed Prestashop for the first time - it looks great!

Problem is, I can't get into the admin bit! I have followed the install instructions and deleted the install directory and changed the name of my admin folder as I was told to do.

When I am asked for my email address and password, I get 'employee does not exist, or bad password'. I can't remember what password I entered - I don't remember being asked for one! When I check the database directly (via phpadmin), the password is encrypted. The password reminder won't work, because I'm hosting locally until I've played around a bit with things.

Can anyone help?

Thanks!

Sharon

Link to comment
Share on other sites

Guys,

I'm having the same problem? Any ideas? There's no errors coming out even when the error messages have been turned on in config/config.inc.php. I posted a while back but there were no answers.

Any help would be greatly appreciated...

Cheers,

James

Link to comment
Share on other sites

Jayd,

I found a sort of resolution to this.

Here's what I did: open the file /admin/login.php

At line 53, there is a line that says: $employee = $employee->getByemail($email, $passwd);

Remove the $passwd from the end of that line (and the comma).

Then you can log in with no password, and change your password.

DON'T FORGET TO CHANGE THAT LINE BACK THOUGH!!! - otherwise you have a massive security hole!

Hope this helps! I'm sure it's not the best way, but it got it working for me!

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