add to card and wish list button not work

  • Posts: 16
  • Thank you received: 1
4 years 11 months ago #305938

hi
first of all, sorry for my bad English

my site is with SSL and all buttons were good. today i found that when i press add to card button or the wish-list button, an error occurs: Insecure content blocked.

i didn't any change in backend.
please help

Please Log in or Create an account to join the conversation.

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
4 years 11 months ago #305947

Hi,

We would need to look at the situation directly on the website to be able to say where it comes from.
Could you provide a link to the shop ?

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 11 months ago #305955

the site is www.atalmataltoys.com/
user and pw : user1

thanks

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 11 months ago #305962

hi again
i think the problem was solved!
i have used some redirection code in .htaccess file and after edit them, the problem was solved.
when i clicked on add to cart button, the url forced to http:// protocol and as my site works with SSL, the error was occur

am i right??

Last edit: 4 years 11 months ago by emperor69.

Please Log in or Create an account to join the conversation.

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
4 years 11 months ago #305957

Hi,

That error is only a consequence of the real issue.
If you click on the add to cart button on your website and look at the network tool of your browser, you can see two requests:
monosnap.com/file/Z1vjJ2TTqTSWSOdcJ7pgLDghTK7KSo
If you look at the first one, you can see that it has the https:
monosnap.com/file/8uvpySmojvYQ3wZJtL5M6FfHtn5PdK
However, your server returns a redirection leading to the javascript of the add to cart to do the second request, without the https in the URL:
monosnap.com/file/lavpACpSWwqsnWyHibxQfHI63IRnHg
And this is the one that is blocked as insecure.
So the problem, as you found out already, was indeed that you must have added some kind of redirect rule (either on the server, in the config of the apache, or in a htaccess, or with a component which can do redirect rules) and the rule breaks the add to cart links because it does a redirect while it shouldn't.

Last edit: 4 years 11 months ago by nicolas.
The following user(s) said Thank You: emperor69

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum