tiG Posted January 31, 2006 Share Posted January 31, 2006 I'm getting this error Fatal error: Call to undefined function: validate_password() in /home/me/public_html/catalog/login.php on line 49 that line says: $pass_ok = validate_password($HTTP_POST_VARS['password'], $check_customer['customers_password']); if ($pass_ok != true) { don't know enough to know what to change. Link to comment Share on other sites More sharing options...
kgt Posted January 31, 2006 Share Posted January 31, 2006 I believe the line is supposed to be: $pass_ok = tep_validate_password($HTTP_POST_VARS['password'], $check_customer['customers_password']); if ($pass_ok != true) { Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
♥Vger Posted January 31, 2006 Share Posted January 31, 2006 Problem is that the code posted is nothing to do with the code in login.php in osCommerce. The code for the password function in login.php is: $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) { $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); and // Check that password is good if (!tep_validate_password($password, $check_customer['customers_password'])) { $error = true; } else { if (SESSION_RECREATE == 'True') { tep_session_recreate(); } Vger Link to comment Share on other sites More sharing options...
tiG Posted February 1, 2006 Author Share Posted February 1, 2006 I put in the tep and that worked. Now when I log into test account, I get this on the next page TEXT_GREETING_PERSONAL I tried to take out the greetings, but apparently left something somewhere. What page will take that out?? tia Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.