Guest Posted September 7, 2005 Share Posted September 7, 2005 Call to undefined function: tep_encrypt_password() in /home2/rick02/public_html/cloth/create_account.php on line 183 how do i fix this.. I ca't figure it out. thank you in advaced if ($error == false) { $sql_data_array = array('customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'customers_newsletter' => $newsletter, LIne 183----> 'customers_password' => tep_encrypt_password($password)); if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender; if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob); Quote Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2005 Share Posted September 7, 2005 can anyone help me???? Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted September 7, 2005 Share Posted September 7, 2005 can anyone help me???? I don't think so. The function tep_validate_password is located in the file catalog/includes/functions/password_funcs.php. That file is included in application_top.php somewhere around line 433: // include the password crypto functions require(DIR_WS_FUNCTIONS . 'password_funcs.php'); Without application_top.php nothing works, so you will have to find out why that particular file is not included, nobody can tell you (as far as I know). Quote Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2005 Share Posted September 7, 2005 QUOTE(noppie @ Sep 7 2005, 10:35 PM) can anyone help me???? I don't think so. well JanZ, you did help me.. I was missing the catalog/includes/functions/password_funcs.php and if it wasn't for you I wouldn't have known so thank you so much.. you did it. noppie Quote Link to comment Share on other sites More sharing options...
kustomjs Posted September 14, 2007 Share Posted September 14, 2007 I get the same error message call to undefined function: tep_encrypt_password() in catalog/admin/customers.php. on line 324 I got catalog/includes/functions/password_funcs.php and the application_top but I dont know what else it can be? here is the code causing it to throw error. $sql_data_array = array('customers_firstname' => $customers_firstname, 'customers_lastname' => $customers_lastname, 'customers_email_address' => $customers_email_address, 'customers_telephone' => $customers_telephone, 'customers_fax' => $customers_fax, 'customers_newsletter' => $customers_newsletter, error message-------->'customers_password' => tep_encrypt_password($password)); 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.