Jump to content

Widget not displaying in Safari


V Raassens

Recommended Posts

After upgrading from jReviews 2.4.x to the latest version 2.6.3.1 and updating the widget factory addon, widgets stopped working on external websites.

 

After searching the forum I found out that adding this code to .htaccess seemed to solve the problem:

 

<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
 
External widgets are showing up in all browsers now, except for Safari.
 
Error consoles gives the following errors in Safari:
 
[Error] Failed to load resource: Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers. (one, line 0)
 
[Error] XMLHttpRequest cannot load reviews/widget_listings/one/?action=listings/one&format=ajax&height=112&id=749&wid=0wpv7&width=332. Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers.
 
What could be the problem? 
Link to comment
×
×
  • Create New...