BeatToBeat Posted August 3, 2005 Share Posted August 3, 2005 Alright, I just started getting into PHP, SQL, and the other vew things within the last month, so I'm still considered a "Newbie"... I had my ../osCommerce/login.php file working fine when I replaced the origional with the one provided by PWA (since it wasn't a CHG file it was a replacement file) and everything worked fine... then last night I went to install the auto login which consists of CHG files --- upon getting to the Login.php page, I found that I couldnt' fine one of the lines where code was to be posted into... I left it out, and now please check the error and provide some assistasnce: Fatal error: Call to undefined function: tep_validate_password() in /home/djatele/public_html/osCommerce/login.php on line 41 Here's someof the coding... Line 35 to 45... $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); if (!tep_db_num_rows($check_customer_query)) { $error = true; } else { $check_customer = tep_db_fetch_array($check_customer_query); // Check that password is good if (!tep_validate_password($password, $check_customer['customers_password'])) { $error = true; } else { if (SESSION_RECREATE == 'True') { tep_session_recreate(); Anyhelp anyone can provide is greatly appreciated... I have a feeling I might need to find an origional version of my LOGIN.PHP and then modify it for PWA then AutoLogin as opposed to using PWA's LOGIN.PHP which seems to take out certain code. Thanks in advance, have a wonderful day. I look forward to your responses. Robert Quote Link to comment Share on other sites More sharing options...
BeatToBeat Posted August 3, 2005 Author Share Posted August 3, 2005 Even in taking out (starting at "Line 41")... if (!tep_validate_password($password, $check_customer['customers_password'])) { $error = true; } else { if (SESSION_RECREATE == 'True') { tep_session_recreate(); } ... through "Line 46"... I still had the same error upon retrying the login. I'm desperate. Robert Starkey Quote Link to comment Share on other sites More sharing options...
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.