weldmar Posted October 8, 2009 Share Posted October 8, 2009 The installation passed perfect! At once after I've tried to login to the admin area. I know for sure the Login and the Pass is 100% correct - but I got the msg: There is 1 error employee does not exist, or bad password when I tried to recover the Password and enter the 100% correct email address, the MSG ->: There is 1 error this account doesn't exist Link to comment Share on other sites More sharing options...
TropischBruin Posted October 8, 2009 Share Posted October 8, 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 http://www.md5.fr or http://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...
weldmar Posted October 8, 2009 Author Share Posted October 8, 2009 I did but the problems was disscused just looks the same as I can see. I did't find just the same. Can you pleas help ... Link to comment Share on other sites More sharing options...
weldmar Posted October 8, 2009 Author Share Posted October 8, 2009 The ps_employe table is not available to BROWS. While I use the search in ps_employe table - "my email address" there is no result. How to do it please? Link to comment Share on other sites More sharing options...
weldmar Posted October 8, 2009 Author Share Posted October 8, 2009 Here is the table and the field EMAIL: why in the VALUE entered 128 where is the email, should I change the 128 to my email? Link to comment Share on other sites More sharing options...
weldmar Posted October 9, 2009 Author Share Posted October 9, 2009 Please adivse! Link to comment Share on other sites More sharing options...
Juan Carlos Garcia Posted October 16, 2009 Share Posted October 16, 2009 Hello. I have the same problem. I did all 4 steps above and check that the field was of EMAIL VARCHAR (128) but the problem persists: Do not enter the Back Office. Try using the "Lost Password" entry screen in the back office, type the email and tells me to send the password to your mailbox but did not get anything. Please try again yields the following: There is 1 error You can regenerate your password only 360 minutes each (s)Juan Carlos Garcia Medellin-Colombia-Sur America Link to comment Share on other sites More sharing options...
KIH999 Posted October 17, 2009 Share Posted October 17, 2009 Remember that a unique secret string is generated when prestashop is installed. ( Called _COOKIE_KEY_)As TropischBruin said -But it also use the pSQL-function in generation. (some sort of filter for unwanted characters) Not sure if it does anything with the result, but better safe than sorry..So all attempts to generate new MD5-Hash without that string will fail for sure.Here is a small php-file that make the Hash to be inserted in the database.Upload it in your back-office folder.. and run it..makepasswordhash.php <?php // PasswordHashGenerator for prestashop. // Uses prestas own variant of MD5-coding. // Delete this file after you have generated Hash // Drop this file in your secret Back-office-folder // This file do NOT change anyting in your DB // It only gives you the MD5 to be inserted in table // Using phpMyAdmin or tools like that. // Best regards KIH. $pwd = "KIH999"; //edit this to create your own password (not to short) . define('PS_ADMIN_DIR', getcwd()); include(PS_ADMIN_DIR.'/../config/config.inc.php'); include(PS_ADMIN_DIR.'/functions.php'); $cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10)); $id_lang = intval($cookie->id_lang) ? intval($cookie->id_lang) : 1; $iso = strtolower(Language::getIsoById($cookie->id_lang ? intval($cookie->id_lang) : 1)); include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php'); echo("The MD5 hash to be inserted in DB Table: employee Field: passwd"); echo(" ".md5(pSQL(_COOKIE_KEY_.$pwd))); echo(" "); echo'Password:'.$pwd; ?> makepasswordhash.php Link to comment Share on other sites More sharing options...
Juan Carlos Garcia Posted October 17, 2009 Share Posted October 17, 2009 Hello. I followed the instructions and run the. Php displays the following message in the browser: The MD5 hash to be inserted in DB Table: employee Field: passwd6a124727775810ff84effe56677ba150Password:KIH999However, the record is not updated in the table ps_employes PASSWD field, copy the generated hash code and paste it manually as shown in the attached image. I try to login and type the password: KIH999 but do not enter and does not generate any error message, as usual, does not enter the BackOffice. The truth this is very frustrating, I have 1 weeks trying to set up shop but it was impossible, the worst is that we have several in this forum with the same problem and do not see a definitive solution. Be possible that someone can provide the installer from a previous version 1.2.4 because it is IMPOSSIBLE to make a successful installation. Thank you very much Juan Carlos Garcia Medellin-Colombia Link to comment Share on other sites More sharing options...
KIH999 Posted October 18, 2009 Share Posted October 18, 2009 You don't get any error messages after you try to log in? :gulp: Link to comment Share on other sites More sharing options...
Juan Carlos Garcia Posted October 19, 2009 Share Posted October 19, 2009 There is no message, just stays on the logon window.Juan Carlos Garcia Link to comment Share on other sites More sharing options...
phoenixxinOz Posted November 18, 2009 Share Posted November 18, 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 http://www.md5.fr or http://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. THANK YOU!!!!!!I tried this because I couldn't login after setting up a copy of my site on localhost...IT WORKED!!! Link to comment Share on other sites More sharing options...
ImagineFL Posted January 22, 2010 Share Posted January 22, 2010 There is 1 erroremployee does not exist, or bad password I am getting the same error... I went into phpMyAdmin and there are no records in the ps_employee field.I created a record (with the password changed to MD5) and I still cannot login.It seems the last time I tried to install and test this program I had the same results and just stuck with Zen.Any help would be appreciated! Thanks,Patrick Link to comment Share on other sites More sharing options...
ImagineFL Posted January 23, 2010 Share Posted January 23, 2010 I deleted everything and it worked. Link to comment Share on other sites More sharing options...
iboMonkey Posted June 10, 2010 Share Posted June 10, 2010 ImagineFLSorry this so long after the topic started but I have the same problem with one of the shops I'm working on.What do you mean exactly with 'deleted everything'. Where did you delete something, and what?Thanks in advance,iboMonkey Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now