osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

error when i registrate new customer.

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-29-2004, 07:24 AM
Anonymous
Guest
 
Posts: n/a
Default error when i registrate new customer.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-29-2004, 01:11 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,665
Thanks: 2
Thanked 93 Times in 79 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-29-2004, 11:03 PM
Anonymous
Guest
 
Posts: n/a
Default

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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 01:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax