Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create Accout: day missing, month missing, year missing


pablito21050

Recommended Posts

Posted

Hello, I installed several times osCommerce on different hosting.

Today, after the last installation on a new hosting I get these message errors when I try to create an account:

 

Please provide your date of birth with the drop down (day missing).

Error Please provide your date of birth with the drop down (month missing).

Error Please provide your date of birth with the drop down (year missing).

 

and of course I entered the Date of Birth

 

Could you please help me to find this matter?

Thanks

Posted

which version was installed.

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

if (ACCOUNT_DOB == 'true') {

if ((is_numeric(tep_date_raw($dob)) == false) || (@checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false)) {

$error = true;

 

$messageStack->add('create_account', ENTRY_DATE_OF_BIRTH_ERROR);

}

}

 

 

 

this code in create_account.php needs to be debugged.

 

probable case:

1. date format is wrong.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...