Jump to content

Unable to log into back office


Recommended Posts

Hi,

I installed prestashop today but I'm unable to log into the backoffice. I've read other posts on the forum regarding the issue but I haven't been able to solve the problem.

I've checked the permissions (I'm using cuteFTP) and the following folders are set to '777':
/config, /upload, /download & /tools/smarty/compile

The following folders permissions are also set to '777' as well as their subfolders:
/img, /mails, /modules, /themes/prestashop/lang & /translations

After checking the premissions I ran the install wizard. There were no errors or warnings during the install. When I was finished the install i deleted the '/install' folder and I renamed the '/admin' folder.

Next I tried to log into the back office but the following error message appeared: "employee does not exist, or bad password." When I tried to recover my password the following error message appreared: "this account doesn't exist"

My host is www.godaddy.com. Next thing I did was log into the mySQL Database in my www.godaddy.com account manager. I manually added myself as an employee in the 'ps_employee' table ,then I retried to to log into the back office. The "employee does not exist, or bad password" appeared again. This time when I tried to retrieve my password it says it has been emailed to me, however I no email arrived in my inbox. The following are the entries in the 'ps_employee' table:


id_employee: 1
id_profile: 1
lastname: *****
firstname: *****
email: *****
passwd: *****
last_passwd_gen: *****
stats_date_from: *****
stats_date_to: *****
active: 1

I'm not sure how to resolve the problem any further. Any help will be appreciated.


Regards,
Niall

Link to comment
Share on other sites

How did you regenerate your MD5 hash ?

* Copy your cookie key from /config/settings.inc.php, for example :
zhNXco9AkmOMkXSA1UJvRLT0oy1K0bImRwhAjXHdIVexfO18ZyFzwsLL
* Go to http://www.md5.fr/
* In the field, paste the cookie key and type IMMEDIATELY after, without space, your password, for example :
zhNXco9AkmOMkXSA1UJvRLT0oy1K0bImRwhAjXHdIVexfO18ZyFzwsLLadminshop
* Generate the MD5 hash.
* Copy it.
* Paste it in the passwd field of the ps_employee table, for your admin user.


I am unable to follow the instructions in the link you sent. because i have no /config/settings.inc.php file.
My /config folder constists of the following files:

/config/config.inc.php
/config/index.php
/config/smarty.config.inc.php

I've checked all of these for a cookie key but cannot see one. Where should I go from here?

Regards,
Niall
Link to comment
Share on other sites

  • 9 months later...
  • 2 months later...

So what do I do if this won't work as the client has spent a lot of time adding data to the site and I need to get in to make changes before it goes live?

Is there a way of carrying out a fresh install without losing all the products and categories etc that the client has added so far?

:-S

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Sorry but i am new to this. My BO stopped letting me in, i have created an MD5 and found PS_employee but all the fields were empty.

I dont know what to do, and i do not really understand alot of what you are saying in previous posts. If you could help me it would be much appreciated.

M

Link to comment
Share on other sites

I really cant say what caused it. Prestashop can be like the twilight zone sometimes. Maybe it was because of some conflicting codes or some hard code changes that you made. I like the flexibility of prestashop, but when you chop n screw the code you're gonna have problems.

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