Post by sterikal » Sun Nov 15, 2020 4:42 am

I have been having a few new customers say that they can't register because the site says that their email is not valid. The last one being customername@hotmail.co.uk
However, I can add them via the admin panel without any issue and there is nothing in the error logs.
What can be causing this?
Cheers

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by ADD Creative » Sun Nov 15, 2020 6:38 am

What version of OpenCart and PHP? Any extensions? Theme?

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Sun Nov 15, 2020 7:07 am

Issue already fixed in OC v3.0.3.6 and master branch.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by stephmens » Sun Nov 15, 2020 7:13 am

I had the same problem, but i am not sure if it is because my customer when checking out as a guest is using auto fill so it sometimes adds a space in after!

Newbie

Posts

Joined
Mon Aug 03, 2020 5:48 pm

Post by sterikal » Sun Nov 15, 2020 8:12 am

ADD Creative wrote:
Sun Nov 15, 2020 6:38 am
What version of OpenCart and PHP? Any extensions? Theme?
I'm using 2.3.0.2, PHP 7.2
I'm using the default theme but it has been customised using the ZenEditor
I'm also using many extensions.

Cheers
Marc

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by ADD Creative » Mon Nov 16, 2020 12:36 am

Could be the leading or trailing space issue as suggested by stephmens.

If the problem only occurs at checkout and not at account register. You could try changing your themes email field to the email type.
https://github.com/opencart/opencart/bl ... er.tpl#L33
https://github.com/opencart/opencart/bl ... st.tpl#L33

So it matches the account register form.
https://github.com/opencart/opencart/bl ... er.tpl#L66

The email type will tell the browser to remove spaces.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by sterikal » Mon Nov 16, 2020 1:05 am

Thank you stephmens and ADD Creative

I'll check whether the next customer is using autofill, if not I'll change the themes email field.
Cheers

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by paulfeakins » Mon Nov 16, 2020 7:07 pm

sterikal wrote:
Sun Nov 15, 2020 8:12 am
I'm using the default theme but it has been customised using the ZenEditor
I'm also using many extensions.
It could be related to an extension.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 30 guests