Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

https - mixed active content - errors


Dnj1964

Recommended Posts

Blocked loading mixed active content ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css”[Learn More] categories.php
Blocked loading mixed active content ext/jquery/jquery-2.2.3.min.js”[Learn More] categories.php
Blocked loading mixed active content ext/jquery/ui/jquery-ui-1.10.4.min.js”[Learn More] categories.php
Blocked loading mixed active content ext/flot/jquery.flot.min.js”[Learn More] categories.php
Blocked loading mixed active content ext/flot/jquery.flot.time.min.js”[Learn More] categories.php
Blocked loading mixed active content ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css”[Learn More] categories.php
Blocked loading mixed active content ext/jquery/jquery-2.2.3.min.js”[Learn More] categories.php
Loading failed for the <script> with source ext/jquery/jquery-2.2.3.min.js”. categories.php:10:1
Blocked loading mixed active content ext/jquery/ui/jquery-ui-1.10.4.min.js”[Learn More] categories.php
Loading failed for the <script> with source ext/jquery/ui/jquery-ui-1.10.4.min.js”. categories.php:11:1
Blocked loading mixed active content ext/flot/jquery.flot.min.js”[Learn More] categories.php
Loading failed for the <script> with source ext/flot/jquery.flot.min.js”. categories.php:14:1
Blocked loading mixed active content ext/flot/jquery.flot.time.min.js”[Learn More] categories.php
Loading failed for the <script> with source ext/flot/jquery.flot.time.min.js”. categories.php:15:1
ReferenceError: $ is not defined[Learn More] categories.php:38:1
ReferenceError: $ is not defined[Learn More]
categories.php:116:1
ReferenceError: $ is not defined[Learn More]
categories.php:129:1
Loading mixed (insecure) display content images/bl-esse-100.png” on a secure page[Learn More]
categories.php

From the Admin side - Blocked loading mixed active

In /public_html/admin/includes/template_top.php there is this code

<base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN : HTTP_SERVER . DIR_WS_ADMIN; ?>" />

Would changing it fix the issue  --  The change below was wishful thinking....  But Doesn't Work!

<base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN; ?>" />

Not sure why it is trying to serve the js files via http instead of https

#redirect index.php to root
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ https://www.xxxxx/ [R=301,L]

#redirect non-www to www
RewriteCond  %{HTTPS}  !on  [OR]
RewriteCond  %{HTTP_HOST}  !^www\.  [NC]
RewriteRule ^(.*)$ https://www.xxxxx/$1 [R=permanent,L]

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.xxxxx.ca/$1 [R,L]

Thought that adding the conditions forced all https

Or are there http links on certain pages that need to be updated?

Thanks

 

Link to comment
Share on other sites

 

https://www.whynopadlock.com/results

Mixed Content - Errors


Hard Failure
A style-sheet with an insecure url of "http://www.xxx/ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css" was loaded on line: 9 of https://www.xxx/admin/login.php.

This URL will need to be updated to use a secure URL for your padlock to return.



Hard Failure
A script with an insecure url of "http://www.xxx/ext/jquery/jquery-2.2.3.min.js" was loaded on line: 10 of https://www.xxx/admin/login.php.
This URL will need to be updated to use a secure URL for your padlock to return.



Hard Failure
A script with an insecure url of "http://www.xxx/ext/jquery/ui/jquery-ui-1.10.4.min.js" was loaded on line: 11 of https://www.xxx/admin/login.php.
This URL will need to be updated to use a secure URL for your padlock to return.



Hard Failure
A script with an insecure url of "http://www.xxx/ext/flot/jquery.flot.min.js" was loaded on line: 14 of https://www.xxx/admin/login.php.
This URL will need to be updated to use a secure URL for your padlock to return.



Hard Failure
A script with an insecure url of "http://www.xxx/ext/flot/jquery.flot.time.min.js" was loaded on line: 15 of https://www.xxx/admin/login.php.
This URL will need to be updated to use a secure URL for your padlock to return.

 

Link to comment
Share on other sites

You might want to check or post the appropriate details from your admin/configure.php leaving out the database details of course.

Dan

 

Link to comment
Share on other sites

Thanks for the reply Dan

Changed the referring links in /public_html/admin/includes/template_top.php

That fixed it.

Probably a better way to do it than hard coding the links but works for now.

Thanks again

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...