Lori2 Posted July 15, 2003 Share Posted July 15, 2003 Hi, I have added a new field in address_book: "entry_dipart" where customers can write your faculty department. I have duplicated entry_city (varchar(32), but I cant't put NO, only Yes NULL is allowed). Then I duplicated entry_city in all files I found in "entry_dipart" ecc. Now in create_account.php and in the database it's seems all OK (I hope)and it'seems work, but in administration no. It's no possible update customers.php and the error is: Fatal error: Call to undefined function: tep_validate_email() in /home/book/public_html/admin/customers.php on line 77, where I find: if (!tep_validate_email($customers_email_address)) { $error = true; $entry_email_address_check_error = true; } else { $entry_email_address_check_error = false; } Anybody have any idea where the problem is? Thanks in advance Lori Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2003 Share Posted July 15, 2003 tep_validate_email is defined in includes/functions/validations.php. Most likely, this file is not getting included for some reason. Did you add the code you posted to customers.php? Did you change the includes? Fixing this could be as simple as adding include(DIR_WS_FUNCTIONS . 'validations.php'); to your customers.php file. Good luck, Matt Link to comment Share on other sites More sharing options...
Lori2 Posted July 18, 2003 Author Share Posted July 18, 2003 Thanks, Matt Now the update works Lory Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.