Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

In secure connection SLL (https: //) when adding a product to the cart the error comes out
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: In secure connection SLL (https: //) when adding a product to the cart the error comes out

In secure connection SLL (https: //) when adding a product to the cart the error comes out 5 years, 11 months ago #35911

  • lepsin
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
In secure connection SLL (https: //) when adding a product to the cart, the error (blocked content) comes out and the mini car does not respond correctly.

This is the error message.
jquery.min.js:4 Mixed Content: The page at 'ofipost.com/index.php/en/gesa-nure-pika-detail' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'ofipost.com/index.php/en/shop/checkout-page'. This request has been blocked; the content must be served over HTTPS.

Re: In secure connection SLL (https: //) when adding a product to the cart the error comes out 5 years, 11 months ago #35916

  • lepsin
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
This issue I have already solved

We enter / modules / mod_sj_minicart_pro / and open the file mod_sj_minicart_pro.php with the text editor.

Now we look for line 45 and change http that appears at the end of the line by https

$ cart-> ajaxurl = strtolower (substr ($ _ SERVER ["SERVER_PROTOCOL"], 0, 5)) == 'https: //'? 'https: //': 'http: //';

The line should look like this ..

$ cart-> ajaxurl = strtolower (substr ($ _ SERVER ["SERVER_PROTOCOL"], 0, 5)) == 'https: //'? 'https: //': 'https: //';

regards
Last Edit: 5 years, 11 months ago by lepsin. Reason: text changes

Re: In secure connection SLL (https: //) when adding a product to the cart the error comes out 5 years, 11 months ago #35922

Dear lepsin

THanks for your solution.

thanks
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes