Failed to fetch (Chrome) or Networkerror when attemting to fetch resource. This happens when I try to load a new PDF in the FlipBook. New site, new WP 5.5 and Twenty-twenty. It has only one plugin (3D Flipbook). Everything brand new out of the "box". Error log from Chrome: post-new.php?post_type=3d-flip-book:1 Access to fetch at 'http://media.wagberg.eu/2020/08/Testpdf1.pdf' from origin 'http://www.wagberg.eu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. media.wagberg.eu/2020/08/Testpdf1.pdf:1 Failed to load resource: net::ERR_FAILED edit.min.js?ver=1.10.4:6 t (anonymous) @ edit.min.js?ver=1.10.4:6
You need to allow CORS for http://media.wagberg.eu/ add in .htaccess
Do you mean that one .htaccess file (with the code above) should be placed in the catalogue media.wagberg.eu on the web provider server?
Yes, it should be there. Do not rewrite the old file just append these lines.
This is the .htaccess (there were no old file, I made a new)
It is located here:
media.wagberg.eu catalogue .. catalogue Public_html file .htaccess
Gives same error
It lost the format?? media.wagberg.eu catalogue .. catalogue Public_html file .htaccess
Something is wrong there is not CORS headers from the server: https://ibb.co/86vGyMr
It should be like this https://ibb.co/nzJN0Dy , contact the hosting support they will help
I have the same issue. Get a message "NetworkError when attempting to fetch resource." I have the same hosting in Sweden (Loopia), they can't do anything about this issue. I have placed the code above into the .htaccess file - get the same message.
What more to do???? oamck.se/jernet/testjarn
I have this issue, https://www.anchorp.com/resources/brochures/. I have added the code and still get the same issue. I just bought the pro version too. Thinking it might resolve it. It did not
Corrected the issue. Since this site was in a Dev environment, it had a link to the dev image. I changed the image and everything works