V Raassens Posted March 4, 2015 at 11:54 AM Share Posted March 4, 2015 at 11:54 AM 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
Alejandro Posted March 4, 2015 at 01:23 PM Share Posted March 4, 2015 at 01:23 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
V Raassens Posted March 4, 2015 at 02:48 PM Author Share Posted March 4, 2015 at 02:48 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts