Unsought_ Posted October 14, 2009 Share Posted October 14, 2009 GuysThis seems to get a real bug ....this is the second time my login to back office dissapearsI tried all the solutions from this forum but without luck.The only thing that helps is reinstalling prestashop....This is not a minor problem i worked hard to get the shop started and now i have to start all over again.I made 3 accounts and none of them work anymore.Plz fix a good module to recover admin passwordsKind regards Patrick Link to comment Share on other sites More sharing options...
ruilong Posted October 14, 2009 Share Posted October 14, 2009 try this..go to /admin/rename password.php to password.olddownload the file in this message, upload it to your /admin/ dirrun restore password feature.delete password.phprename password.old to password.phpforgot to mention that the new password will be 12345678 (in case you didn't get a email from the shop) password.php Link to comment Share on other sites More sharing options...
Patric Posted October 14, 2009 Share Posted October 14, 2009 Do you modify the settings.inc.php file before that happens ? Link to comment Share on other sites More sharing options...
TropischBruin Posted October 14, 2009 Share Posted October 14, 2009 Please change your topictitle to: Cannot login to backoffice. Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 Sorry guys no lucklogin.php?redirect=index.phpKeeps redirectingPassword change threw phpmyadmin with md5 doesn't work either... Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 Maybe i/we could rewrite a login script ... ???Something like this ?? > <? require_once("index.php"); session_start(); mysql_connect("localhost","name_db", "password"); mysql_select_db("name_db"); if ($_GET['actie'] == 'uitloggen'){ session_unset(); } if ($_POST['loginuser'] && $_POST['loginpassword']){ $getUser = mysql_query("select * from user where username='$_POST[loginuser]' and password='" . md5($_POST['loginpassword']) . "' and active='1'"); if (mysql_num_rows($getUser) == 1){ $_SESSION['username'] = $_POST['loginuser']; $_SESSION['password'] = md5($_POST['loginpassword']); $inloggen = false; } else { print(" ERROR user or password is not correct. "); $inloggen = true; } } print_r($_COOKIE[username]); if (isset($_SESSION['username']) && isset($_SESSION['password'])){ $query = "select * from user where username='$_SESSION[username]' and password='$_SESSION[password]' and active='1'"; //print($query); $getUser = mysql_query($query); if (mysql_num_rows($getUser) <= 0){ $inloggen = true; //print("niet ingelogd"); } else { //print("ingelogd"); } } else { $inloggen = true; } if ($inloggen == true){ print(" <form action='index.php?p=message' method='post'> </pre> <table border="0" align="center">Username<input type='text' name='loginuser'></td> Password<input type='password' name='loginpassword'></td> </table> <br><br><br><center><input type='submit' name='submit' value='Login'> </form><br> "); exit; } ?> </ce Link to comment Share on other sites More sharing options...
ruilong Posted October 14, 2009 Share Posted October 14, 2009 if the password fix I uploaded dosn't work for you with password 12345678 then you have some kind of cookie problem and not lost password problem.are you using a iframe redirect perhaps?did you clear the cookies in the browser? Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 I do get an email...with pass 12345678but no luckno forwarding or redirectingE-mail address: [email protected]Password: 12345678 Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 ok... some more info...maybe this helps....After your password recovery file i get a redirect ( same as before )but the difference is when i fill in another pass ( which i made up )i does give me an error employee or password unknown...so the pass is ok ... or should be...but what else could it be ...i tried safari / firefox and ieemptied everything cache cookies the whole shabang ;-))no luck!! Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 I think i have no other solution then to reinstall for the third time........ in maybe 2 weeks timeif it fails again ( which i hope doesn't happen.... )i need to find another solution and it realy stinks i like prestashopBut i cant start all over again and again because of this errorgrrr %$#@#$ Link to comment Share on other sites More sharing options...
Unsought_ Posted October 14, 2009 Author Share Posted October 14, 2009 well i give up...will backup reinstall load my files ( which i added and changed )will upload the old version mysql db but without the section for ps_employee .... )i will fix a daily backup so when it happens again i will load a backup very annoying but i don't have another solution :down: Link to comment Share on other sites More sharing options...
Kela Posted October 15, 2009 Share Posted October 15, 2009 I have nearly the same problem, I tried the upper methods.But I have a big difference, I just installed the webshop and I cant enter it is redirecting (it would be my first login everything is correct)http://admin1/login.php?email=u hereis there any new information? Link to comment Share on other sites More sharing options...
Unsought_ Posted October 15, 2009 Author Share Posted October 15, 2009 did you empty cache/cookies ?? Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 I am using Crome and I cleaned all Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 Okay... i know this really s#cksI reinstalled the whole thing, but i copied all the directories admin and others to my harddrive i deleted all config files like settings.inc.php in the admin config directoryand did the install process again after that i copied all the files back with FTP This way i saved a lot of translations and settings and layout styles i did loose the products and categories but... thats was one off my least of worries it's probably not the answer you were waiting for but it did help me ;-)( i use cron job in direct admin to fix me a daily backup )So if this happens again i will use the backup from a day before Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 I installed it 2 times from 0 and all the same Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 ouch! Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 http://www.ujeskuvoiruha.hu/admin1/login.php?redirect=/here is the shop, is anybody else have an idea? Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 I see this after login:Address Not FoundFirefox can't find the server at admin1.The browser could not find the host server for the provided address. * Did you make a mistake when typing the domain? (e.g. "ww.mozilla.org" instead of "www.mozilla.org") * Are you certain this domain address exists? Its registration may have expired. * Are you unable to browse other sites? Check your network connection and DNS server settings. * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 did you chmod after installation ?? Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 yes all the needed libraries 777 Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 i see your problemyour base url is offhttp://admin1/login.php?redirect=/ Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 hmmm how can it be??? how can I turn on?? Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 whats in your settings.inc.php and are you familiar with phpmyadmin ? Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 <?phpdefine('_DB_SERVER_', 'localhost');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'ujeskuvoiruha');define('_DB_USER_', 'ujeskuvoiruha');define('_DB_PASSWD_', 'xxxxxxxxx');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', 'RyIk2FCvd8BRKqsvmJMvbO1D2TH28Gyc1yHduFE5W0q3R0Pn9Eo5VOuw');define('_COOKIE_IV_', 'hTE7Lrvz');define('_PS_CREATION_DATE_', '2009-10-16');define('_PS_VERSION_', '1.2.4.0');?> Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 <?phpdefine('_DB_SERVER_', 'localhost');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'ujeskuvoiruha');define('_DB_USER_', 'ujeskuvoiruha');define('_DB_PASSWD_', 'xxxxxxxxx');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', 'RyIk2FCvd8BRKqsvmJMvbO1D2TH28Gyc1yHduFE5W0q3R0Pn9Eo5VOuw');define('_COOKIE_IV_', 'hTE7Lrvz');define('_PS_CREATION_DATE_', '2009-10-16');define('_PS_VERSION_', '1.2.4.0');?> I have something like <?phpdefine('__PS_BASE_URI__', '/shopdir/');but i read posts only a / should also work ...whats in your mysql db ?ps_configuration also / ?? Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 I did not open a new directory for the shop it's in my root so it is directly www.ujeskuvoiruha.hu/index.php shall i put it in a directory?in ps_configuration there is nothing about the directory Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 i,m not sure....could you alter ps_configuration ( base url ) just for testing to / instead of nothingthere has to be a reason why your domain dissapears after login Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 31 PS_ORDER_RETURN_NB_DAYS 732 PS_MAIL_TYPE 333 PS_PRODUCT_PICTURE_MAX_SIZE 13107234 PS_PRODUCT_PICTURE_WIDTH 6435 PS_PRODUCT_PICTURE_HEIGHT 6436 PS_INVOICE_PREFIX IN37 PS_INVOICE_NUMBER 238 PS_DELIVERY_PREFIX DE39 PS_DELIVERY_NUMBER 140 PS_INVOICE 141 PS_PASSWD_TIME_BACK 36042 PS_PASSWD_TIME_FRONT 36043 PS_DISP_UNAVAILABLE_ATTR 144 PS_VOUCHERS 145 PS_SEARCH_MINWORDLEN 346 PS_SEARCH_BLACKLIST 47 PS_SEARCH_WEIGHT_PNAME 648 PS_SEARCH_WEIGHT_REF 1049 PS_SEARCH_WEIGHT_SHORTDESC 150 PS_SEARCH_WEIGHT_DESC 151 PS_SEARCH_WEIGHT_CNAME 352 PS_SEARCH_WEIGHT_MNAME 353 PS_SEARCH_WEIGHT_TAG 454 PS_SEARCH_WEIGHT_ATTRIBUTE 255 PS_SEARCH_WEIGHT_FEATURE 256 PS_SEARCH_AJAX 157 PS_TIMEZONE 37458 PS_THEME_V11 059 PS_CARRIER_DEFAULT 260 PAYPAL_BUSINESS [email protected]61 PAYPAL_SANDBOX 062 PAYPAL_CURRENCY customer63 BANK_WIRE_CURRENCIES 2,164 CHEQUE_CURRENCIES 2,165 PRODUCTS_VIEWED_NBR 266 BLOCK_CATEG_DHTML 167 BLOCK_CATEG_MAX_DEPTH 368 MANUFACTURER_DISPLAY_FORM 169 MANUFACTURER_DISPLAY_TEXT 170 MANUFACTURER_DISPLAY_TEXT_NB 571 NEW_PRODUCTS_NBR 572 STATSHOME_YEAR_FROM 200973 STATSHOME_MONTH_FROM 1074 STATSHOME_DAY_FROM 1675 STATSHOME_YEAR_TO 200976 STATSHOME_MONTH_TO 1077 STATSHOME_DAY_TO 1678 PS_TOKEN_ENABLE 179 PS_STATS_RENDER graphxmlswfcharts80 PS_STATS_OLD_CONNECT_AUTO_CLEAN never81 PS_STATS_GRID_RENDER gridextjs82 BLOCKTAGS_NBR 1083 PS_SHOP_NAME ujeskuvoiruha.hu84 PS_SHOP_EMAIL [email protected]85 PS_MAIL_METHOD 1/code] Link to comment Share on other sites More sharing options...
Unsought_ Posted October 16, 2009 Author Share Posted October 16, 2009 (86, 'PS_BASE_URI', '/shopdir/', '2009-10-04 23:42:49', '2009-10-05 00:17:44'), Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 i made a new record but not still not working Link to comment Share on other sites More sharing options...
Kela Posted October 16, 2009 Share Posted October 16, 2009 i sent you an important mail, what helps you to have a look at the sql Link to comment Share on other sites More sharing options...
Juan Carlos Garcia Posted October 16, 2009 Share Posted October 16, 2009 I have the same problem. I installed 2 times from 0 and I could not enter the Back Office. I am installing the version 1.2.4 The error is as follows: employee does not exist, or bad password Check the table and there appears ps_employes record with the account recording in step 4 of the installer.Juan Carlos GarciaMedellin-Colombia-Sur America Link to comment Share on other sites More sharing options...
paestum Posted November 23, 2009 Share Posted November 23, 2009 I've just installed the latest version of prestashop and I also immediatey experienced this problem of not being able to access my admin page. After clearing my cookies, i can reaccess my admin page however always with the same notice ''Path is not the same between your browser and your server''. Link to comment Share on other sites More sharing options...
Unsought_ Posted November 23, 2009 Author Share Posted November 23, 2009 try another browser ... it worked for me ....i used safari and it worked for me Link to comment Share on other sites More sharing options...
nicolas-consulting Posted December 22, 2009 Share Posted December 22, 2009 I have same problemThere are a few topics on this on this forum but no real solution.I am having a very bad experience with PrestaShop so far ... Link to comment Share on other sites More sharing options...
KyferEz Posted December 23, 2009 Share Posted December 23, 2009 We had this exact same problem after moving prestashop from our local server to our webserver. The problem was 2-fold:1) /prestashop/config/settings.inc.php -> define('__PS_BASE_URI__', '/prestashop/'); was wrong.2) A table had data that was wrong: ps_employee had the wrong password due to how we preformed the move.Worked for us, hope this can help others. Link to comment Share on other sites More sharing options...
nicolas-consulting Posted December 24, 2009 Share Posted December 24, 2009 Thank Youfor 1) I have define(’PS_BASE_URI‘, ‘/shopping-cart/’); for 2) Well i did reset, I did change with the cookie and md5 as suggested on the forumI am still having the issue :-( Link to comment Share on other sites More sharing options...
PCMonarch Posted December 30, 2009 Share Posted December 30, 2009 I am having the same issue..... Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2009 Share Posted December 31, 2009 search forum for "newadmin.php",it helps! Link to comment Share on other sites More sharing options...
nutbuster Posted January 24, 2010 Share Posted January 24, 2010 Had the same issue as above...Would not allow me to log on with Firefox but did work with Explorer...cookie issue! Link to comment Share on other sites More sharing options...
naktinukas Posted January 28, 2010 Share Posted January 28, 2010 hianyone has the solution? or just to reinstall, but that is not an option in production environment... or shuld i got with 1.3 alfa? Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2010 Share Posted January 28, 2010 Hope I don't misunderstand your topic but I told you to search forum for newadmin.php file .Now use the attached file, put it in your admin folder and open it with your browser.I got this file from this forum.It helps. newadmin.php Link to comment Share on other sites More sharing options...
dutchmulti Posted February 27, 2011 Share Posted February 27, 2011 no need to make a new install if you lost the admin passwordHad the same problem but it easy to fix.. You have to do it in the data base....Step 1: make a consumer accound on your site mail adress and password (write it down;)Step 2: Go to your database and find Tabel: ps_customerand press the tab explore.You will find the password string you just made with your user accound. but then as a string of letters and numbers. Copy this password string.Step 3:Your still in the data base and go to Tabel: ps_employee And press explore tab. And then press the edit pensil off your old admin you will see your old email login.. Now paste the paswordstring into the passwd varchar(32) and push the save button...And go now to you admin login page of your site use the admin email and password you changed and you can login!!!So no need to make a new install..Ohyeah don't use google chrome for database editing explorer works the best... 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