Hello,
website: Chinook.school-core.com
Multisite
Buddypress on Main site
Everything up to dateIs there a limit to the number of emails I can put in?
I have a high school with 1767 students that I need to get their emails into. I can get 1193 and it will let any one register with any email.Any help is appreciates.
Jay
Hi Jay,
Is it not allowing you to add more than 1193, There is no limit(It is being stored in options table which is a mysql longtext field(which is around 4GB and should allow more than 100K emails(not great for performance though as we load it as array)).Can you please explain the current behavior( anyone can register with any email?)
Hi Brajesh,
I was having problems initially adding emails. If there were any spaces behind the email it would not work. Any email address could register. I removed all the spaces and tried adding all the emails in at once. When I did this I tried to register an email that was not in the list. It allowed the registration to go through.
I then started adding 50 at a time and checking each time. Things worked well until I got to 1193. When I added the 1194 email it would again allow the registration.
I do have the Auto Activate Auto Login plugin activated on the site.
Thanks for the help Brajesh
Thank you for clarifying Jay. Please let me check it and I will get back to you in next 5-10 minutes.
Hi Jay,
Can you please check if there is an empty line at the bottom of the list? I am sorry about that but after the last entry, there should not be any empty line/space. That matches everything and allows registration from all.Hi Brajesh,
There is no line or space. I’ve been checking that after every entry.
Jay
Hi Jay,
Can you please send me a temporary admin access on brajesh@buddydev.comNeed to check a few things to fix it.
You have Admin Access.
Ok, I have got the reason and yes, our regular expression is failing after the limit you specified. I got this message in debug
Warning: preg_match_all(): Compilation failed: regular expression is too large at offset
So, we need to keep the list small. Now, That will not be an issue in your case.
As I see, most of your emails are from a particular domain. Do you want to allow all users from that to register? If yes, we can use just one entry for all of them.
You must be logged in to reply to this topic.