Post by hassni » Mon May 01, 2017 4:38 pm

I really need support from someone who knows how to do this. Hired a developer to help configure entire site to HTTPS but he could not get it to work :(
SSL is installed by server provider and both root and admin config files are changed to https. But still the site is not completely secure: "All components, such as images, are not secure" HOW on earth do you fix this?


Should I change anything here? Would REALLY appreciate all the help I can get, have spent so many hours searching for solutions online. Need the whole site SSL-secured, not just the checkout as I have it today

New member

Posts

Joined
Tue Oct 13, 2015 3:01 am

Post by sculptex » Mon May 01, 2017 4:53 pm

This has been covered so many times, it would be helpful if you posted your url and opencart version (2.2 has a bug which needs additional fix) for starters.
Look at my posts half my replies relate to SSL issues and they are all resolved eventually.

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by hassni » Mon May 01, 2017 5:12 pm

url www.qmart.pk
using opencart version 2.0.1.1

New member

Posts

Joined
Tue Oct 13, 2015 3:01 am

Post by sculptex » Tue May 02, 2017 3:14 pm

Looking at the front page of your site, the majority f images that are not ssl are the little specification bars
srren size / mp / ram / battery etc.
http://qmart.pk/image/Mi%20Xiaomi/Mi%20 ... note-4.jpg
http://qmart.pk/image/Accessories/JBL%2 ... jbl-go.jpg
http://qmart.pk/image/MacBook%20Air/App ... K-GGF2.jpg
I am not familiar with that theme, but it seems that the way these specification 'bars' have been inserted under the product name is the main part of the problem. It may be that functionality is not ssl aware and so does not attempt to make the link secure but more likely is that it stores the full url to the image and those images were added before you made the site ssl.
You can try to delete and re-add one of those images to test this (just to one first to make sure it works).
If so, you can either delete and re-add them all manually, or locate where those images are stored in the database and change them using sql.
The fact that most images are ssl suggest that the ssl part now works okay, its that theme or some added functionality that does not handle ssl properly.
The way opencart stores paths and the best way to do it is to be stored relative so
image/path/image.png
NOT
http://qmart.pk/image/path/image.png
but if your theme expects the full url you have to get them all changed like I suggest.

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by ArcherData » Tue May 09, 2017 7:55 am

Why in the world do the developers not use relative links for all of the images? Firefox, Edge and Chrome all declare the site to be not secure because of the (unsecure) fully-qualified links to the images. Is there a simple fix for this?

Don Bledsoe


User avatar
New member

Posts

Joined
Mon Dec 24, 2012 4:30 am
Location - Cherryvale, KS

Post by sculptex » Tue May 09, 2017 10:28 pm

The poster has not responded but all bar 2 images on that page are now ssl.
They may have gone in the database and fixed them there or they may have re-uploaded them now ssl is in place. There still seems to be some non-ssl links in there, it seems to point to the theme/megamenu but without more info, I can only Guess

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by ArcherData » Tue May 09, 2017 11:48 pm

On the home page, a couple of mods I wrote were the culprit there. I am still checking other pages, but it looks good.

Don Bledsoe


User avatar
New member

Posts

Joined
Mon Dec 24, 2012 4:30 am
Location - Cherryvale, KS
Who is online

Users browsing this forum: Bing [Bot] and 61 guests