This is a discussion on Date proble in signup within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi I'm using OScommerce 2.2 on a SUSE9.1 Linux machine when a new customer sign up they have to enter ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi I'm using OScommerce 2.2 on a SUSE9.1 Linux machine when a new customer sign up they have to enter there Date Of Birth but its in amercan i.e mm/dd/yyyy this i wish to change to dd/mm/yyyy Can anybody help Many Thanks EnergeeUK |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| catalog/create_account.php, around line # 79 Code: if (ACCOUNT_DOB == 'true') {
if (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);
}
}
|
|
#3
| |||
| |||
| Thanks for that but i'm still non the wiser. lol I'm new to this PHP stuff Also when a customer goes to change there data the date of birth comes up sayin tue/jan/1967 if you just click continue it errors any help please |
|
#4
| |||
| |||
| I am getting the same problem despite changing the code in english.php and create_account.php What would be useful is some actual coding which works, so we can copy it |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| affiliate signup error!!! PLEASE HELP!!!!!! | acurals7 | osCMax v2 Installation issues | 3 | 07-20-2006 05:42 PM |
| Can't login/signup new customer | jbianco | osCommerce 2.2 Installation Help | 7 | 04-06-2004 12:56 PM |
| Modifying Signup (Register) Page | terabite.com | osCommerce 2.2 Modification Help | 0 | 02-03-2003 06:55 PM |
| Signup referring URL/METHOD question | CharlesE | osCommerce 2.2 Modification Help | 0 | 12-03-2002 11:16 AM |