cbitterfield
-
Posts
2 -
Joined
-
Last visited
Posts posted by cbitterfield
-
-
I have setup a basic Revive Adserver setup. I am getting mixed and unreliable results. (It worked for a little while and then stopped).
This error message is in the javascript console:
A parser-blocking, cross site (i.e. different eTLD+1) script, http://www.[REDACTED].us/ads/www/delivery/spc.php?zones=4&source=&r=52034309&charset=UTF-8&loc=http%3A//, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
I am guessing it is based on CORS or an Apache setup issue. The question is what side?
The debug option on revive shows no data at all.
# CORS
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "1000"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]
Ads not delivering (PARSE blocked)
in Using Revive Adserver
Posted
I switch to ASYNC javascript. (the machines are doing nothing else but testing).
Now 1 out of 10 times, I get an ad. There are no errors in the debug log, error.log on either machine.
Works better on firefox, random results on Chrome or Safari.
I didn't do anything and it started working again. I have tried changing PHP versions to 5.6, 7.0, 7.1
(Site is hosted on Godaddy)