karcher Posted May 13, 2003 Posted May 13, 2003 My shop was working fine, then I installed SSL with a linux soft link to the secure server. Now it seems that my shop is broken in an unusual way. I don't even know if the two are related. Can anyone suggest where I look for the problem? The errror originates in the following section of create_account_process.php. $sql_data_array = array('customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'customers_newsletter' => $newsletter, [b]'customers_password' => crypt_password($password),[/b] 'customers_default_address_id' => 1); Is this building an SQL command? All help appreciatiated! My live shop is down! K ..................................................................... When the going get's tough, the tough get going.
Guest Posted May 13, 2003 Posted May 13, 2003 Is this building an SQL command? Yes it is. What error message are you receiving? Is it possible to furnish a link? Please advise. -R
karcher Posted May 13, 2003 Author Posted May 13, 2003 I'm trying to create an account on http://www.michaelevans.co.uk/catalog/ I have been looking through to find the crypt functions and as far as I can see the right file is 'required' in application_top.php. Thanks for your time. K ..................................................................... When the going get's tough, the tough get going.
Guest Posted May 13, 2003 Posted May 13, 2003 I think one big typo... Try changing... crypt_password() which is on line # 268 of your /catalog/create_account_process.php file to... tep_encrypt_passord() I have a feeling that will solve your problem. Let me know. -R
karcher Posted May 13, 2003 Author Posted May 13, 2003 But I didn't change that, this is MS1 release with a couple of contributions added in. Last week I added Linda's Header Tags controller, and an info box on the right but other than that I have no idea what could have broken the site. I'll take a look and see what's in the MS1 files to make sure that the function call is the same as before. I am trying to write a test page to find out the root of the page, for example if the password crypt functions are being included. If I want a temporary fix, do you think I can just remove the crypt_password function call, or what about if I just use the mysql password() function? Thanks K ..................................................................... When the going get's tough, the tough get going.
Guest Posted May 13, 2003 Posted May 13, 2003 The osC password functions are based out of catalog/includes/functions/password_funcs.php. Thats where I found my earlier suggestion. I have never known anyone to not encrypt the passwords. You can try, but I have no idea what the outcome would be. Good Luck. -R
karcher Posted May 13, 2003 Author Posted May 13, 2003 I would only remove the encryption as a short term fix as 3 potential customers have contacted me this morning! I'll post to this thread when I have a test page working. Thanks again for your time. K ..................................................................... When the going get's tough, the tough get going.
karcher Posted May 13, 2003 Author Posted May 13, 2003 Thanks Somehow some of the files must have been replaced. It's a mystery how though. I have reuploaded the ms1 files and it's all up and running again. Does anyone know how I can compare my files with those of ms1? Thanks K ..................................................................... When the going get's tough, the tough get going.
Guest Posted May 13, 2003 Posted May 13, 2003 I use a great program called Beyond Compare. You can find it here...http://www.scootersoftware.com It costs about $30. But don't let the price fool you. Trust me... its paid for itself MANY times over. Good Luck. -R
karcher Posted May 13, 2003 Author Posted May 13, 2003 Thanks I'll look into that. It's obvious I need to do something. Do you think beyond compare would be better than winCVS or something along those lines? K ..................................................................... When the going get's tough, the tough get going.
Rotation Posted June 11, 2003 Posted June 11, 2003 Exactly the same error, I have not installed anything I can think of that might have caused this. menus graphics is all where could this have occured Fatal error: Call to undefined function: crypt_password() in /usr/home/krafty/public_html/catalog/create_account_process.php on line 265 Anyone else had this There can?t be anything wrong with hedonism if everyone?s happy... can there? :wink:
Rotation Posted June 11, 2003 Posted June 11, 2003 Doh sorted it out following The Bear next page adding tep_en to crypt_password! weird how it worked earlier Thanks The Bear There can?t be anything wrong with hedonism if everyone?s happy... can there? :wink:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.