Author |
Message |
dcasmr
Worker


Joined: Feb 06, 2004
Posts: 147
|
Posted:
Mon Sep 06, 2004 1:57 pm |
|
I am running PHP Nuke 7.4 patched on my site. Lately, I tried to add another account to post for a "catch all" user. Anyhow, I am getting this message after trying various valid yahoo e-mails accounts:
The email address you entered is invalid!
Any help appreciated.
dcasmr |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Sep 06, 2004 4:56 pm |
|
Where are you trying to enter the email? What URL is in your browser when you receive this message? What is the email address that causes this error? |
|
|
|
 |
dcasmr

|
Posted:
Mon Sep 06, 2004 7:00 pm |
|
|
|
 |
Raven

|
Posted:
Mon Sep 06, 2004 7:14 pm |
|
Since nuke does not verify the actual MX records, this is being trapped by your nuke logic, in some way. I have searched the language file for Your_Account and do not find the phrase 'The email address you entered is invalid' in it. So,I must ask you if you are using some special release of nuke (with modifications) or is this virgin code? |
|
|
|
 |
dcasmr

|
Posted:
Mon Sep 06, 2004 7:29 pm |
|
I am using Nuke 7.4 patched and have not installed any mods related to e-mails. I found the error message really odd !
dcasmr |
|
|
|
 |
Raven

|
Posted:
Mon Sep 06, 2004 7:50 pm |
|
I just searched the entire v7.4 patched from my d/l and that message is not to be found. I am going to try to register on your site. |
|
|
|
 |
Raven

|
Posted:
Mon Sep 06, 2004 7:54 pm |
|
Have you installed any mods to Your_Account module? |
|
|
|
 |
dcasmr

|
Posted:
Mon Sep 06, 2004 9:03 pm |
|
|
|
 |
Raven

|
Posted:
Mon Sep 06, 2004 9:06 pm |
|
|
|
 |
dcasmr

|
Posted:
Mon Sep 06, 2004 9:11 pm |
|
|
|
 |
Raven

|
Posted:
Mon Sep 06, 2004 9:17 pm |
|
Raven wrote: | Have you installed any mods to Your_Account module? | Please answer this question. |
|
|
|
 |
dcasmr

|
Posted:
Mon Sep 06, 2004 10:52 pm |
|
No. I did not added any mod to Your_Account. In fact, after getting the error, I re-downloaded Nuke7.4 patched and copied the content of Your_Account to the one in the server.
Thanks,
dcasmr |
|
|
|
 |
dcasmr

|
Posted:
Tue Sep 07, 2004 10:54 pm |
|
Raven: I found somehow the link to that error message. I have in admin/language.php file a DEFINE for _ERROR that reads:
define("_ERROR","<font color=\"#CC0000\">The email address you entered is invalid!</font>");
I tracked that variable to a piece of code in the Index.php file under Your_Account.
I have tried the auto-registration hack withn no success
Quote: |
$new_password = md5($user_password);
$username = check_html($username, nohtml);
$user_email = check_html($user_email, nohtml);
$result = $db->sql_query("INSERT INTO ".$user_prefix."_users_temp (user_id, username, user_email, user_password, user_regdate, check_num, time) VALUES (NULL, '$username', '$user_email', '$new_password', '$user_regdate', '$check_num', '$time')");
if(!$result) {
echo ""._ERROR."<br>";
} else {
$user_question = stripslashes(FixQuotes($user_question));
$user_answer = stripslashes(FixQuotes($user_answer));
if(!$db->sql_query("INSERT INTO ".$user_prefix."_users_verify VALUES (NULL, '$username', '$user_question', '$user_answer')")) {
echo mysql_error();
}
|
Thanks,
dcasmr |
|
|
|
 |
dcasmr

|
Posted:
Wed Sep 08, 2004 12:12 am |
|
Cogito ergo sum: Raven, through your questions I learned how to investigate this pesky issue. I think I found the PROBLEM: My nuke_users_temp is not in DB. The site was hacked a long time using SQL injections and I lost some tables. I just read through the codes and put things together. I am now trying to upload a nuke_users_temp table to DB.
Thanks for your great help.
dcasmr |
|
|
|
 |
Raven

|
Posted:
Wed Sep 08, 2004 4:37 am |
|
I have several posts about the behavior of nuke when that table isn't present. Usually you get a nickname error. They must have changed something in 7.4 that causes the email error before the nickname That would definitely cause problems. Great catch and keep us posted. |
|
|
|
 |
dcasmr

|
Posted:
Wed Sep 08, 2004 7:07 am |
|
DONE. After uploading nuke_users_temp the problem was solved. Without your guided troubleshooting questions, this will not have happened.
Thanks for the great help.
dcasmr |
|
|
|
 |
Raven

|
Posted:
Wed Sep 08, 2004 7:18 am |
|
Great news, for sure! I am adding this to the FAQ as yet another example of poor error messages! You should have been receiving a warning that the TABLE was missing, not that the email address is invalid - GEESH! |
|
|
|
 |
|