Notifications
Clear all

Members with certain email formats not able to register

7 Posts
4 Users
0 Reactions
2,137 Views
(@izdoodle)
Posts: 101
Estimable Member
Topic starter
 

I've searched some on this topic, but everything I've found seems to stop at a dead end.

I had a user email me saying that when they sign up for an account it gives them the following error message:

The e-mail address you supplied is an invalid format. Please try again.

I've noticed a few people on twitter have also said they couldn't sign up for accounts either and having the same problem. The format for her email is:

username@post10.tele.dk 

I'm guessing it has to do with the host.tele.dk formating. I know others have had this issue since I've searched for it, but there is no information that I've found that fixes the issue. Does anyone know what causes this and how I can fix it? They users I've found with this issue are unwilling to sign up for google or yahoo accounts since they keep all their Fan Fiction emails at one email address. I can completely understand this since I do the exact same thing, so I'm hoping it can be fixed.

Any help would be greatly appreciated.
IzDoodle


http://www.twiwrite.net
Where Your Imagination Can Run Free
18+ TwiWrite Fan Fiction Archives.
efiction vs.3.5.2
SQL vs. 5.0.77
PHP vs. 5.2.2
Happily soaking up any and all php, tpl, and html knowledge I can.

 
Posted : 27/11/2010 5:23 pm
(@izdoodle)
Posts: 101
Estimable Member
Topic starter
 

Does anyone have any advice for this?


http://www.twiwrite.net
Where Your Imagination Can Run Free
18+ TwiWrite Fan Fiction Archives.
efiction vs.3.5.2
SQL vs. 5.0.77
PHP vs. 5.2.2
Happily soaking up any and all php, tpl, and html knowledge I can.

 
Posted : 09/12/2010 12:40 am
(@piper)
Posts: 91
Trusted Member
 

I ran into this problem also, it has to do with the way the php function used to validate the email address.

Check this thread for my solution:
https://efiction.org/forums/index.php?topic=6782.0

-HuGgLeS-
-P/KAF/PT


StoryPortal Fiction Network - StoryPortal.Net
TG Fiction dot NET | T* Fiction Archive - TGFiction.Net
LG Tales | TG Style Fiction for LG's - LGTales.Com

 
Posted : 13/01/2011 7:19 pm
(@izdoodle)
Posts: 101
Estimable Member
Topic starter
 

I ran into this problem also, it has to do with the way the php function used to validate the email address.

Check this thread for my solution:
https://efiction.org/forums/index.php?topic=6782.0

-HuGgLeS-
-P/KAF/PT

Thank you. I read the topic. Did you ever change it to the suggestion or keep it like you originally suggested? I know you mentioned security risks and was curious about that before I attempted to change like code like you said.

Thanks so much for your help.


http://www.twiwrite.net
Where Your Imagination Can Run Free
18+ TwiWrite Fan Fiction Archives.
efiction vs.3.5.2
SQL vs. 5.0.77
PHP vs. 5.2.2
Happily soaking up any and all php, tpl, and html knowledge I can.

 
Posted : 13/01/2011 7:37 pm
(@piper)
Posts: 91
Trusted Member
 

The security risk is for versions of php less than 5.2.3 I was at the time running 5.2.3 and am currently using 5.2.13 so I left it as I suggested. I did look into the other code, but can't actually rmember why I didn't use it, other than my way worked for me πŸ™‚

-HuGgLeS-
-P/KAF/PT


StoryPortal Fiction Network - StoryPortal.Net
TG Fiction dot NET | T* Fiction Archive - TGFiction.Net
LG Tales | TG Style Fiction for LG's - LGTales.Com

 
Posted : 13/01/2011 9:08 pm
ShiKahr
(@shikahr)
Posts: 60
Trusted Member
 

Hi, I tried to install again and again all with no success. So again today. This time at least I came to the point where I can create an Admin Account. But again an error occurred and I can't finish the installation.

Warning: preg_match(): No ending delimiter '^' found in /home/xxxxxxx/public_html/efic/install/install.php on line 156

eFiction 3.5.5 Install

The e-mail address you supplied is an invalid format. Please try again.

Is there any chance that this will be solved or at least explained how to workaround this?
Please help.


Get your Arsch out of the couch." Gayle Tufts

 
Posted : 30/12/2016 7:18 am
(@sheepcontrol)
Posts: 332
Reputable Member
 

Hi, I tried to install again and again all with no success. So again today. This time at least I came to the point where I can create an Admin Account. But again an error occurred and I can't finish the installation.

Warning: preg_match(): No ending delimiter '^' found in /home/xxxxxxx/public_html/efic/install/install.php on line 156

eFiction 3.5.5 Install

The e-mail address you supplied is an invalid format. Please try again.

Is there any chance that this will be solved or at least explained how to workaround this?
Please help.

Fixing this could almost take ages ... here it is:

Open the file with the error (install/install.php),

change line #156 to:

			if(!preg_match("/[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+/i", $_POST[email])) $fail = "<div style='text-align: center;'>"._INVALIDEMAIL." "._TRYAGAIN."</div>";

The original line should look pretty similar, only a few minor changes to the pattern of preg_match.
Looks like I did a hasty and erroneous transition from the deprecated eregi call that probably sits in line 155, commented out (you can delete that.)


 
Posted : 30/12/2016 2:37 pm
Share: