List email plugin ajax gives CORS error

chipperfield

New Member
Hi there.

Fabrik 3.7 on Joomla 3.7.5
On hosted site with an .htaccess which forces any non-www access to be www - ie everything should be www.chipperfieldprojects.co.uk . I did this some years ago specifically to avoid AJAX CORS errors between www and non-www access to domain.

Everything works fine except List Email plugin, which gives the AJAX CORS error below since it is trying to reach www domain from what it sees as non-www domain (but the page it is redirecting from is definitely www).

The Email plugin is a new feature I am trying to add to the site - the rest of it has been live for some years.
Any ideas would be very welcome.
Thanks
Giles

XMLHttpRequest cannot load
https://chipperfieldprojects.co.uk/...derOrder=2&ids[]=98&checkAll=0&format=partial.
Redirect from
'https://chipperfieldprojects.co.uk/...derOrder=2&ids[]=98&checkAll=0&format=partial'
to
'https://www.chipperfieldprojects.co...derOrder=2&ids[]=98&checkAll=0&format=partial'
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'https://www.chipperfieldprojects.co.uk' is therefore not allowed access.
 
Hi there.

Fabrik 3.7 on Joomla 3.7.5
On hosted site with an .htaccess which forces any non-www access to be www - ie everything should be www.chipperfieldprojects.co.uk . I did this some years ago specifically to avoid AJAX CORS errors between www and non-www access to domain.

Everything works fine except List Email plugin, which gives the AJAX CORS error below since it is trying to reach www domain from what it sees as non-www domain (but the page it is redirecting from is definitely www).

The Email plugin is a new feature I am trying to add to the site - the rest of it has been live for some years.
Any ideas would be very welcome.
Thanks
Giles

Updated with firebug detail below:

XMLHttpRequest cannot load

Request Headers
Accept*/*
Accept-Encodinggzip, deflate, br
Accept-Languageen-US,en;q=0.5
Connectionkeep-aliveContent-Length34
Content-Typeapplication/x-www-form-urlencoded;
charset=UTF-8
Hostchipperfieldprojects.co.uk
Originhttps://www.chipperfieldprojects.co.uk
Refererhttps://www.chipperfieldprojects.co.uk/rtyc/index.php/edit-entries-payments

User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://chipperfieldprojects.co.uk/rtyc//index.php?
option=com_fabrik&controller=list.email&task=popupwin&tmpl=component&ajax=1&id=21&renderOrder=2&ids[]=33&checkAll=0&format=partial.
(Reason: CORS header ?Access-Control-Allow-Origin? missing).
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top