running PHP 8.0
seems the Host upgraded the site to force https by adding a bit in the htaccess file
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
Which broke the coding. Took it out and it works now
|