I have edited the config folder for both the open cart root config file also the admin config file on defining the HTTPS Server with my web address. I've enabled SSL on the open cart admin settings. I get an error which shows
Mixed Content: The page at 'https://mydomain.co.uk/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://mydomain.co.uk/index.php?route=c ... y/currency'. This endpoint should be made available over a secure connection.
also if I try accessing my website admin panel using HTTPS I also get this error
Mixed Content: The page at 'https://mydomain.co.uk/admin/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://mydomain.co.uk/admin/index.php?r ... mmon/login'. This endpoint should be made available over a secure connection.
Hope someone can help me. Thank You
Mixed Content: The page at 'https://mydomain.co.uk/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://mydomain.co.uk/index.php?route=c ... y/currency'. This endpoint should be made available over a secure connection.
also if I try accessing my website admin panel using HTTPS I also get this error
Mixed Content: The page at 'https://mydomain.co.uk/admin/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://mydomain.co.uk/admin/index.php?r ... mmon/login'. This endpoint should be made available over a secure connection.
Hope someone can help me. Thank You
If this is 2.2.0.0:
Look in upload/system/config/catalog.php and upload/system/config/admin.php.
Set
$_['site_ssl'] = false;
to
$_['site_ssl'] = true;
Look in upload/system/config/catalog.php and upload/system/config/admin.php.
Set
$_['site_ssl'] = false;
to
$_['site_ssl'] = true;
Edit file admin/config.phprakeshmaya wrote: ↑Sun Sep 11, 2016 8:26 pmI am getting this error on 2.1.0.1 how do i solve this, i dont see this directory structure
and on the root of the shop
and put:
// HTTP
define('HTTP_SERVER', 'https://yourdpomain.com');
// HTTPS
define('HTTPS_SERVER', ''https://yourdpomain.com');
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
You first install OC on http, and after, you install your SSL and made the configuration on server admin OC am i right?
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
Yes, EVERYTHING is https all images and all URLs but the "What do you want to do next" is not https. That is why there is a error of mixed content.
"Mixed Content: The page at 'https://www.MySite.se/index.php?route=checkout/cart' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.MySite.se/index.php?route=checkout/cart'. This endpoint should be made available over a secure connection."
The form is this one:
<div id="reward" class="content" style="display: none;">
<form action="http://www.MySite.se/index.php?route=checkout/cart" method="post" enctype="multipart/form-data">
I do not know why this part is the only part of my store that is not secure. (The URL is still https) https://www.MySite.se/index.php?route=checkout/cart
First of all I want that form to be https. If this is not possible I want to remove it but then my customers can´t use coupongs...
"Mixed Content: The page at 'https://www.MySite.se/index.php?route=checkout/cart' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.MySite.se/index.php?route=checkout/cart'. This endpoint should be made available over a secure connection."
The form is this one:
<div id="reward" class="content" style="display: none;">
<form action="http://www.MySite.se/index.php?route=checkout/cart" method="post" enctype="multipart/form-data">
I do not know why this part is the only part of my store that is not secure. (The URL is still https) https://www.MySite.se/index.php?route=checkout/cart
First of all I want that form to be https. If this is not possible I want to remove it but then my customers can´t use coupongs...
I am glad that works now
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
Hi,
The problem is on all shop? Admin and Catalog?
The problem is on all shop? Admin and Catalog?
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
Hello!
I have the problem with Mixed Content.
Maybe someone here be kind enough to help me?
I have the problem with Mixed Content.
Maybe someone here be kind enough to help me?
Attachments
Screenshot_2.jpg (16.22 KiB) Viewed 19249 times
Screenshot_4.jpg (8.72 KiB) Viewed 19248 times
This is a bit complex issue. You need to check ALL your links, including the ones added by 3rd party extensions, and make sure they all have HTTPS.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
You use wordpress....try with this plugin: SSL Insecure Content Fixer
And next time, post on wordpress related forum if you don't have/use Opencart.
And next time, post on wordpress related forum if you don't have/use Opencart.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 207 guests