Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined function: crypt_password()


sargenle

Recommended Posts

Can someone give me a clue or a fix for why this fuction is not defined. Where can I find this to check it and what should the syntax of the function be if it is missing.

 

I have tried to replace with the prior backup from three days ago but I still have the same problem.

 

I could go back almost two weeks. But I would rather see what someone has to say about it.

 

Has this happened to someone before?

 

Well thanks for the help.

 

Lee

 

Here are line 200-230 of my Create_Account.php file from Catalog.

 

 

200

201 $sql_data_array = array('customers_firstname' => $firstname,

202

203 'customers_lastname' => $lastname,

204

205 'customers_email_address' => $email_address,

206

207 'customers_telephone' => $telephone,

208

209 'customers_fax' => $fax,

210

211 'customers_newsletter' => $newsletter,

212

213 'customers_password' => crypt_password ($password),

214

215 'customers_advertiser' => $advertiser,

216

217 'customers_referer_url' => $referer_url);

218

219

220

221

222

223

224

225

226

227 if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender;

228 if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob);

229

230 tep_db_perform(TABLE_CUSTOMERS, $sql_data_array);

 

 

Can someone help me?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...