116 Posts
nycxav
6 years ago
Topic

Hi, 

I have a registration form using seblod 3.1.5 on Joomla 3.8.6 that validates the availabiity of username using cck_field_validation.

It works fine on desktop browsers however on Android, on all browsers (firefox, samsung) except on Chrome, it fails to execute the validation and the message "Validating, please wait" doesn't disappear. It's therefore impossible to submit the form from these android browsers.

I installed Droid Web Inspector to investigate but the information is not that useful it just says Ajax error: 0 error. 

Help is appreciated as most of the users now register (or try to register) via phones. 

Regards.
Xavier.

Get a VIP membership
116 Posts
nycxav
6 years ago
1
Level 1

I figured it out it was a CORS issue. my host had messed up my .htaccess file and removed the redirection form non www to www urls. 

And in some browsers (including IE) I had the issue. So I managed to see in IE in the console a message mentioning 

SEC7120 Origin https:domain.org not found in Access-Control-Allow-Origin header. 

The lack of www in front of the url caught my attention and when I manually forced www urls it worked. 

4229 Posts
Kadministrator
6 years ago
0
Level 2

Thnx for getting back with this info.

Get a Book for SEBLOD