Post by elskorco » Thu Aug 24, 2017 4:12 pm

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!

Newbie

Posts

Joined
Tue Nov 15, 2016 5:53 pm

Post by paulfeakins » Thu Aug 24, 2017 5:10 pm

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/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by elskorco » Thu Aug 24, 2017 7:07 pm

thx you so much for your help and time!
I will check it out.. have a nice day!

Newbie

Posts

Joined
Tue Nov 15, 2016 5:53 pm

Post by nudylady » Mon Sep 16, 2019 1:26 am

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?

New member

Posts

Joined
Sun Feb 19, 2012 12:14 am
Who is online

Users browsing this forum: No registered users and 220 guests