I am writing chapter codes and when I got everything ready, I tried the register script at the first time it worked fine, the problem is that :
- the script added only my username and the time (automatically),and none of
the other fields was added to the database.
- then I tried to register a new member more than 10 times, but every time I
got error told me that the Email address id already exists!!!!!! and I am sure there is email address similar in the db. so I tried a new register and I wrote in the email field just a regular name without @example.com and the same thing happen and keep telling me that the address exists.
PHP Code:
if ( member::getByEmailAddress( $member->getValue( "emailAddress" ) ) ) {
$errorMessages[] = '<p class="error">Sorry this email address is already exists!!!</p>';
}
this a new type of errors and I don't know where I have to chek, if any have an idea plz tell me.
thx