dvalent Posted August 29, 2010 Posted August 29, 2010 Hi, I am new to posting and I am really stuck. I installed this module for 3rd or 4th time, this was the closest I got to using the module. I have read the instructions to the point of my eyes buggin' out but I still cannot get a good login. Yes, I have used...admin@localhost/admin...admin/admin...admin/default as these were recommended on different posts. But I still cannot login. I noticed that when I used the correct login it didn't tell me I was wrong, although when I tried the others it did give me a failed notice. The page also stayed on the login.php page. I have been down many roads with this...tried many suggestions only to now be backing up my files to original state, again. I really need to control the access on this one. Anyone??HELP! Peace, Diane Quote
dvalent Posted September 6, 2010 Author Posted September 6, 2010 Hi, I am new to posting and I am really stuck. I installed this module for 3rd or 4th time, this was the closest I got to using the module. I have read the instructions to the point of my eyes buggin' out but I still cannot get a good login. Yes, I have used...admin@localhost/admin...admin/admin...admin/default as these were recommended on different posts. But I still cannot login. I noticed that when I used the correct login it didn't tell me I was wrong, although when I tried the others it did give me a failed notice. The page also stayed on the login.php page. I have been down many roads with this...tried many suggestions only to now be backing up my files to original state, again. I really need to control the access on this one. Anyone??HELP! Peace, Diane Quote
dvalent Posted September 6, 2010 Author Posted September 6, 2010 52 views and no help! Fear is beginning to seep in... After numerous attempts, I am now at a different problem...OH, Please Note:(I don't know how to document this on this site) Bad contribution: Admin_level_account_with_categories_2.3.4 is missing files, one I noticed was the password_funcs.php(which could explain why I couldn't login, maybe?) Next, I set up a test site on my server using a clean osC install and added the version Admin23_1 (looks odd,it's an earlier version) and I got it to work. One reason that could explain why there is double documentation/instruction about how to login, it's not specific...for my first time login I went to catalog/admin/login_admin.php(not admin/login.php) and I got in using the admin@localhost/admin. Got to play around a bit...felt comfortable enough to work with this version. So I did a compare files for my modified files and uploaded...both sets of files.(changed files & original files) Now when I login in at the admin/login_admin.php I get an Internal Server Error When that failed, for "grins" I tried to login from admin/login.php I get: Fatal error: Cannot redeclare tep_validate_password() (previously declared in /home/xxx/public_html/xxx/admin/includes/functions/password_funcs.php:16) in /home/xxx/public_html/xxx/admin/includes/functions/password_funcs.php on line 29 Here is the code: <?php /* $Id: password_funcs.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ //// // This funstion validates a plain text password with an // encrpyted password function tep_validate_password($plain, $encrypted) { if (tep_not_null($plain) && tep_not_null($encrypted)) { // split apart the hash / salt $stack = explode(':', $encrypted); if (sizeof($stack) != 2) return false; if (md5($stack[1] . $plain) == $stack[0]) { return true; } } return false; } //// // This function makes a new password from a plaintext password. function tep_encrypt_password($plain) { $password = ''; for ($i=0; $i<10; $i++) { $password .= tep_rand(); } $salt = substr(md5($password), 0, 2); $password = md5($salt . $plain) . ':' . $salt; return $password; } ?> (although I don't think this is my problem child here, could this be causing a problem? Will this page be used IF I can get the login_admin.php working? Should this page be removed?) So now ...I guess go see about the Internal Server Error. Any advise is really, really, really appreciated. Peace, Diane Quote
dvalent Posted September 6, 2010 Author Posted September 6, 2010 Ah now this is sweet... I just replaced my files with my backed up files...I can log into the admin area(the old area) BUT now I can't login into the store using my test user. I get this: Error: No match for E-Mail Address and/or Password. The user is in the database, so I didn't lose it...the only files that are being backed up are in the admin folder. When I was getting the Internal Server error I compared the permissions from my test site v. live site, they seemed the same. I think I changed it...hell, my mind is shot. What should they be? Is there a list of what they should be? HELP Peace, Diane Quote
Guest Posted September 6, 2010 Posted September 6, 2010 Diane, I am not sure why you are having so many problems with this contribution. I have installed it many times and have never had any problems with it. I always install the latest upload from November 2009 and it works fine with Rc2a. Chris Quote
dvalent Posted September 7, 2010 Author Posted September 7, 2010 (edited) Diane, I am not sure why you are having so many problems with this contribution. I have installed it many times and have never had any problems with it. I always install the latest upload from November 2009 and it works fine with Rc2a. Chris Wish I knew...thanks for responding. Edited September 7, 2010 by dvalent Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.