Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error with customer registration.


lovenkissesxoxo

Recommended Posts

tep_validate_email is a function that is called to validate email address.

This function is defined in following files

a. \includes\functions\validations.php &

b. \admin\includes\functions\validations.php.

 

You would have to debug code to check when, where does the code fail.

Best Regards,
Gaurav

Link to comment
Share on other sites

  • 2 months later...
tep_validate_email is a function that is called to validate email address.

This function is defined in following files

a. \includes\functions\validations.php &

b. \admin\includes\functions\validations.php.

 

You would have to debug code to check when, where does the code fail.

I'm having similar problems.

 

If I try to update customer information from the admin pages, I get a message that the email address isn't valid.

 

error message

Warning: Variable passed to each() is not an array or object in TEST/furtrade/estore/admin/includes/functions/validations.php on line 86

 

Warning: eregi() [function.eregi]: REG_EMPTY in TEST/furtrade/estore/admin/includes/functions/validations.php on line 97

 

These are the two sections it refers to I don't have any idea what it doesn't like. Is there a way to turn the email validation section off for admin.

/

/ Get authorized TLDs from text file
			$tlds = file(DIR_WS_INCLUDES . 'tld.txt');
			while (list(,$line) = each($tlds)) {

 

// Remove last '|'
			$tld_pattern = substr($tld_pattern, 0, -1);
			if (eregi("$tld_pattern", $top_level_domain) == 0) {
				$valid_address = false;

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...