Page 1 of 1

parts of this page is not secure (such as images) error

Posted: Thu Aug 24, 2017 4:12 pm
by elskorco
Hy,
recently I moved to https (ssl enabled by host) and now I get this:

Code: Select all

parts of this page is not secure (such as images) error
my config.php looks like this

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'https://dvdmediji.com/');

// HTTPS
define('HTTPS_SERVER', 'https://dvdmediji.com/');

// DIR
define('DIR_APPLICATION', '/home/dvdme1/public_html/catalog/');
define('DIR_SYSTEM', '/home/dvdme1/public_html/system/');
define('DIR_LANGUAGE', '/home/dvdme1/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/dvdme1/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/dvdme1/public_html/system/config/');
define('DIR_IMAGE', '/home/dvdme1/public_html/image/');
define('DIR_CACHE', '/home/dvdme1/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/dvdme1/public_html/system/storage/download/');
define('DIR_LOGS', '/home/dvdme1/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/dvdme1/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/dvdme1/public_html/system/storage/upload/');


any ideas?
Ive tried to

Code: Select all

define('HTTPS_IMAGE', 'https://dvdmediji.com/image/');
but it didnt worked quite well.. any ideas?
thank you and have a super nice day everyone!

Re: parts of this page is not secure (such as images) error

Posted: Thu Aug 24, 2017 5:10 pm
by paulfeakins
Yes, this is a common problem.

It means that there are other things on the page like css files, js files, other libraries etc. that don't use HTTPS.

This site will tell you which ones:
https://www.whynopadlock.com/

Re: parts of this page is not secure (such as images) error

Posted: Thu Aug 24, 2017 7:07 pm
by elskorco
thx you so much for your help and time!
I will check it out.. have a nice day!

Re: parts of this page is not secure (such as images) error

Posted: Mon Sep 16, 2019 1:26 am
by nudylady
paulfeakins wrote:
Thu Aug 24, 2017 5:10 pm
https://www.whynopadlock.com/
Thank you. my site with cloudflare.
I checked: My site with www is good.
---------------------------------------------------
If no www,
Mixed Content - Errors
Hard Failure
A script with an insecure url of "http://www.beadsmoment.com/catalog/view ... 1.1.min.js" was loaded on line: 15 of https://beadsmoment.com/.
what should I do?