Page 1 of 1

OC 2.3: Mixed content error in admin login blocking login

Posted: Sat Oct 03, 2020 4:44 pm
by riyahere
I have read multiple threads related to HTTPS and SSL before posting here and has already done suggested changes.

I just installed OC 2.3 on php 7.2 and tried to login into admin panel, but it is just refreshing the page.
I checked both config.php and both are correctly stating 'https', hence no changes were required on the same.

Now what can I do to fix this. In browser console, it is showing 'Mixed Content Error'. I verified on chrome as well as firefox.
Please guide.

Re: OC 2.3: Mixed content error in admin login blocking login

Posted: Sun Oct 04, 2020 12:35 am
by IP_CAM
Make sure, to have the config.php files looking like here:
viewtopic.php?f=190&t=220289

Re: OC 2.3: Mixed content error in admin login blocking login

Posted: Sun Oct 04, 2020 1:49 pm
by riyahere
Hi,

I verified the config.php
HTTP and HTTPS both are mapped to https.

<?php
// HTTP
define('HTTP_SERVER', 'https://DOMAIN.in/products/');

// HTTPS
define('HTTPS_SERVER', 'https://DOMAIN.in/products/');

Re: OC 2.3: Mixed content error in admin login blocking login

Posted: Sun Oct 04, 2020 4:00 pm
by xxvirusxx
Store URL?