- Issue created by @blogchef12
As the admin who build this underlying system, note that it is running PHP 8.4.4 and Apache 2.4.37 on RedHat8.
We have discovered that this appears to be due to accessing Drupal across or firewall which is translating https to http (which is what Drupal is running on the server). Basic Cart appears to be hard-coded to offer the http:// path for the "add to cart" button, and this results in the error on the client site browser of "The page at was loaded over HTTPS, but requested an insecure XMLHttpRequest This request has been blocked; the content must be served over HTTPS".
Ironically, this same setup is flawless with the Drupal 7 deployment that we are trying to update to D11.
Any suggestions?
We have determined that this issue is due to our firewall handling certificates (https) and forwarding http to Drupal.
This worked flawlessly for years in Drupal 7, but it seems like Basic Cart will not run this way in Drupal 11.
I have changed forwarding to be https (firewall still handles certs) to https with self-signed on the Drupal 11 node, and this is resolved.