Jump to content

Images showing up as http not https


moonmosaic

Recommended Posts

How can I get rid of that annoying message of "mixed content"? I have blocklink installed where I added a few links and they show up as http all the time. I also have rss installed which I use for twitter and that shows up http too.
http://www.gulfportflowershop.com. All other images show https when on a secure page. How do I get those two modules to behave like the others?

Link to comment
Share on other sites

The RSS feed module seems to be hardcoded to http. Try changing line 59 of modules/feeder/feeder.php from:

'feedUrl' => 'http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'modules/'.$this->name.'/rss.php?id_category='.$id_category.'&orderby='.$orderBy.'&orderway='.$orderWay,



to:

'feedUrl' => _MODULE_DIR_.$this->name.'/rss.php?id_category='.$id_category.'&orderby='.$orderBy.'&orderway='.$orderWay,



You should also go to the configuration page for the link block and remove the server part of the URLs, leaving only the directories and filename.

Link to comment
Share on other sites

It looks like the "call me back" button I had on the website created a problem with the SSL certificate. Even though it was pointing to https the image itself was from http link. Now it works ok with firefox and chrome. IE still brings up that annoying window.

Link to comment
Share on other sites

Not yet, I will try to get round to it this weekend. It is something I cannot do from the backoffice. However I uninstalled it for now. It all works ok except for IE. The funny thing is when I click on NO to display insecure content - everything is displayed. Oh, I fixed google analytics after reading about it here - so its not that either.

Link to comment
Share on other sites

My bank account got emptied by using a "clone" bank website last year, it´s a scam. We all have to be sure to log our personal info in websites with an https certificate, otherwise, we are in trouble with all those hackers messing around with decent people.

Link to comment
Share on other sites

Anyone know how to make image references HTTPS instead of HTTP? In my contact-form.php page, I see there are references to "http://www.goldgalleon.com//modules/blockadvertising/advertising.jpg" (for example) which is leading to "unsecured page" message. Where do I change this to read "https://www.goldgalleon.com//modules/blockadvertising/advertising.jpg"? Thanks...

Solution: Add this code into your PHP file (advertising.php)....

/* SSL Management */
$useSSL = true;

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...