Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when submitting Email Address for Forgotton Password... NOO!!! Help!!


jesma

Recommended Posts

Posted

Hi,

 

I've come under my first real error since installing the store.

 

It happens when going to My Account > Forgotten Your Password link (password_forgotten.php), and when you type in the email address and press submit, it get this error come up:

 

Warning: sprintf(): Too few arguments in /home/rockrag/public_html/password_forgotten.php on line 29

 

Warning: Cannot modify header information - headers already sent by (output started at /home/rockrag/public_html/password_forgotten.php:29) in /home/rockrag/public_html/includes/functions/general.php on line 33

 

Why is this happening. On the above error, it lists password_forgotten.php, line 29 and general.php, line 33. Here are those lines:

 

(forgotten_password.php)

 

tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

(general.php)

 

header('Location: ' . $url);

 

Any ideas anyone?

Archived

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

×
×
  • Create New...