Post by renniks » Sat Feb 09, 2019 5:33 am

Hi folks, hoping someone can help me please.

I've recently got an SSL certificate setup for my site.

When I run a check at whynopadlock.com it shows up the errors (Current results link https://www.whynopadlock.com/results/16 ... 3175b12508 )

I have started fixing the errors I can, but I've got a problem, it keep throwing up this current list and I dont know how to fix it.

The issue seems to be with "featured products" slideshow - when that is active it fails the padlock test, when disabled, passes the padlock test.

The main issue I have, is that the scripts that need their address amending, aren't present in the header file (I've edited the ones that were present).


ANY help would be much appreciated

Any help would be much appreciated


Version 2.3.0.2
VqMod installed

Newbie

Posts

Joined
Wed Jul 19, 2017 3:52 am

User avatar
Active Member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india

Post by renniks » Sat Feb 09, 2019 10:49 pm

I've been able to do that for the majority of errors, as they do actually appear in the header.tpl file.

The owl carousel ones are only viewable, when viewing the page source through a browser as they aren't actually present within header.tpl

I was thinking, are they added to the webpage view a customer/browser will see upon loading the webpage.

basically something else adds the scripts in ONLY when the page is loaded.


I'll add a copy of what the header file shows, vs what google page source shows

Newbie

Posts

Joined
Wed Jul 19, 2017 3:52 am

Post by renniks » Sat Feb 09, 2019 10:52 pm

chrome source view
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Weekend Warrior Airsoft</title>
<base href="https://www.weekendwarriorsairsoft.co.uk/" />
<meta name="description" content="Weekend Warrior Airsoft, For ALL your airsofting needs, from modern to vintage, from modern day to world war 2, we've got everything you could possibly need" />
<script src="https://www.weekendwarriorsairsoft.co.u ... 1.1.min.js" type="text/javascript"></script>
<link href="https://www.weekendwarriorsairsoft.co.u ... ap.min.css" rel="stylesheet" media="screen" />
<script src="https://www.weekendwarriorsairsoft.co.u ... rap.min.js" type="text/javascript"></script>
<link href="https://www.weekendwarriorsairsoft.co.u ... me.min.css" rel="stylesheet" type="text/css" />
<link href="https://www.weekendwarriorsairsoft.co.u ... 0i,300,700" rel="stylesheet" type="text/css" />
<link href="https://www.weekendwarriorsairsoft.co.u ... esheet.css" rel="stylesheet">
<link href="catalog/view/javascript/jquery/owl-carousel/owl.carousel.css" type="text/css" rel="stylesheet" media="screen" />
<script src="https://weekendwarriorsairsoft.co.uk/ca ... /common.js" type="text/javascript"></script>
<link href="https://www.weekendwarriorsairsoft.co.u ... atalog/fav icon.png" rel="icon" />
<script src="catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js" type="text/javascript"></script>
</head>


actual header.tpl file

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content= "<?php echo $keywords; ?>" />
<?php } ?>
<script src="https://www.weekendwarriorsairsoft.co.u ... 1.1.min.js" type="text/javascript"></script>
<link href="https://www.weekendwarriorsairsoft.co.u ... ap.min.css" rel="stylesheet" media="screen" />
<script src="https://www.weekendwarriorsairsoft.co.u ... rap.min.js" type="text/javascript"></script>
<link href="https://www.weekendwarriorsairsoft.co.u ... me.min.css" rel="stylesheet" type="text/css" />
<link href="https://www.weekendwarriorsairsoft.co.u ... 0i,300,700" rel="stylesheet" type="text/css" />
<link href="https://www.weekendwarriorsairsoft.co.u ... esheet.css" rel="stylesheet">
<?php foreach ($styles as $style) { ?>
<link href="<?php echo $style['href']; ?>" type="text/css" rel="<?php echo $style['rel']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script src="https://weekendwarriorsairsoft.co.uk/ca ... /common.js" type="text/javascript"></script>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<?php foreach ($scripts as $script) { ?>
<script src="<?php echo $script; ?>" type="text/javascript"></script>
<?php } ?>
<?php foreach ($analytics as $analytic) { ?>
<?php echo $analytic; ?>
<?php } ?>
</head>

Newbie

Posts

Joined
Wed Jul 19, 2017 3:52 am
Who is online

Users browsing this forum: No registered users and 2 guests