This is a discussion on error when i registrate new customer. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; i get this error code. Fatal error: Call to undefined function: tep_date_raw() in /catalog/create_account.php on line 80 and on line ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| i get this error code. Fatal error: Call to undefined function: tep_date_raw() in /catalog/create_account.php on line 80 and on line 80 the code is: 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); } } Someone have got any clues? Can there be any troubles with sessions or cookies? or doesnt my webhost support the mailtype that is used in OsCommerce |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| It has nothing to do with MAILTYPE...There is a problem with calling the fuction of tep_date_raw - which is normally setup in your main language file ie: english.php function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2); } } Ether this file is mission or fuction was removed/changed or the file was not included (using the php code of require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); in index.php) or the language is not setup properly. The best thing would be try re-uploading the files or FRESH files and try it again. If you still have this error - post more detail...What mods you did which language files you modified etc.... Good Luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| Thank you very much, this was exectly the problem i was experienceing. I had not that code in my swedish language pack.... Thanks again!!! p.s Sorry about the bad english.. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Customer Orders Admin Panel | donm1021 | osCMax v1.7 Discussion | 0 | 08-08-2006 04:50 PM |
| customer get email error message on account set up | Christy | osCMax v2 Installation issues | 7 | 12-19-2005 03:16 PM |
| edit customer in admin error, heelllppp | battleaxe | osCMax v1.7 Discussion | 0 | 10-07-2004 02:38 AM |
| Error when trying to edit customer info | Nugar | osCMax v1.7 Discussion | 9 | 11-13-2003 11:01 AM |
| error with new customer registration | danz | osCommerce 2.2 Installation Help | 5 | 10-19-2003 04:08 PM |