Post by worldcart » Tue May 25, 2021 6:19 pm

Problem: When I access my site over https. it messes up display. With http, it works fine.

Root cause: The reason is as shown in the chrome dev tools
Mixed Content: The page at 'https://www.mysite.com/home' was loaded over HTTPS, but requested an insecure script 'http://my-srerver-name.com/vaayu/catalo ... 3.1.min.js'. This request has been blocked; the content must be served over HTTPS.

Questions:
Does anyone know how to fix for 4.0.0.0_b?
How to force links such as above with .js from opencart to use HTTPS? Are there any settings?

=========================================================================
Additional Details
Setup:
ubuntu and xampp.
Git SHA - c67de320f639229b114e0d537acb5351c3709935
I setup rule in /opt/lampp/etc/extra httpd-xampp.conf to redirect. Its working fine, if I type http://mysite.com -> It automatically changes to https://mysite.com
What I tried so far: Please suggest any additions/corrections
I checked the admin->system->settings, but dont find anything to enable.
My understanding from code is that, in 4.0, config.php does not need to define HTTPS_SERVER, HTTPS_CATALOG etc.

Newbie

Posts

Joined
Sun Apr 18, 2021 12:09 am

Post by OSWorX » Tue May 25, 2021 6:25 pm

OpenCart 4.x is "alpha" state only.
So, no support here, use Github for that.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 176 guests