Andrew Spackman
asked on
Cross domain request in Javescript
Hi,
I have built a site and put it live the other day, but I have noticed its running extremely slow, then when I look in the console it seems to be throwing a error regarding the following:
Access to Font at 'http://www.elec247.com/wp-content/themes/technico/fonts/fontawesome-webfont.woff2?v=4.6.3' from origin 'http://www.elec247.com' has been blocked by CORS policy: No 'Access-Control-Allow-Orig in' header is present on the requested resource. Origin 'null' is therefore not allowed access.
/#?secret=wOAtAvF6mK:1 Access to Font at 'http://www.elec247.com/wp-content/themes/technico/fonts/fontawesome-webfont.woff?v=4.6.3' from origin 'http://www.elec247.com' has been blocked by CORS policy: No 'Access-Control-Allow-Orig in' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Any ideas why this has started to appear and how to fix it? It was fine when I first put it live?
www.elec247.com
Many Thanks,
Andrew
I have built a site and put it live the other day, but I have noticed its running extremely slow, then when I look in the console it seems to be throwing a error regarding the following:
Access to Font at 'http://www.elec247.com/wp-content/themes/technico/fonts/fontawesome-webfont.woff2?v=4.6.3' from origin 'http://www.elec247.com' has been blocked by CORS policy: No 'Access-Control-Allow-Orig
/#?secret=wOAtAvF6mK:1 Access to Font at 'http://www.elec247.com/wp-content/themes/technico/fonts/fontawesome-webfont.woff?v=4.6.3' from origin 'http://www.elec247.com' has been blocked by CORS policy: No 'Access-Control-Allow-Orig
Any ideas why this has started to appear and how to fix it? It was fine when I first put it live?
www.elec247.com
Many Thanks,
Andrew
ASKER
Hi,
I had deactivated some plugins and reactivated, for some reason all my visual editor widgets disappeared but the error went, I am now having to put everything back. Have no idea where this issue came from? any ideas?
Thanks,
Andrew
I had deactivated some plugins and reactivated, for some reason all my visual editor widgets disappeared but the error went, I am now having to put everything back. Have no idea where this issue came from? any ideas?
Thanks,
Andrew
Doesn't make sense as the domain and protocol reported in the message are the same. Font files are subject to CORS checks so it is a legitimate message - just does not make sense in the context of the paths given.
Would need to see it in action to be able to diagnose further.
Would need to see it in action to be able to diagnose further.
ASKER
Well thanks for your reply but it appears to have gone now, but very odd!
... tis not for us to reason why ...
Although it is disconcerting when a problem goes away by itself - it just means it could come back.
If it does post back and we can take a look.
Although it is disconcerting when a problem goes away by itself - it just means it could come back.
If it does post back and we can take a look.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have the same problem on another site and it appears to be something to do with the fetch tweets plugin. Do you know where I need to put this code?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, worked a treat :)
Do you still have the problem?