Post by drebosio » Wed Jan 25, 2017 3:45 am

So i'm having an issue displaying that my site is secure with the padlock icon.

Image

I've upated the site to use SSL in System > Settings > Store(default) > Server: Yes bubble selected.
(i even have a SSL URL option that i've update with correct url)

My config.php file on root:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.kingbarcode.com/');


// HTTPS
define('HTTPS_SERVER', 'https://www.kingbarcode.com/');
Admin > config.php:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.kingbarcode.com/admin/');
define('HTTP_CATALOG', 'http://www.kingbarcode.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.kingbarcode.com/admin/');
define('HTTPS_CATALOG', 'https://www.kingbarcode.com/');
I've found posts where they say all you need to do is edit the above listed, but was i suppose to change the HTTP to reflect HTTPS?

For example:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'https://www.kingbarcode.com/admin/');
define('HTTP_CATALOG', 'https://www.kingbarcode.com/');
on both my root and admin config files?

According to WhyNoPadlock:
Image

I'm fairly new to php but will doing the following code in my admin> config.php file fix the error with the ajax image?

Code: Select all

<?php
// HTTPS
define('HTTPS_SERVER', 'https://www.kingbarcode.com/admin/');
define('HTTPS_CATALOG', 'https://www.kingbarcode.com/');
define('HTTPS_IMAGE', 'https://www.kingbarcode.com/image/');
(Can't find the file that is calling the ajax-loader image so not sure how to fix this, but i know i need the http to reflect https)

Thanks for any help.

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am

Post by victorj » Wed Jan 25, 2017 7:01 am

looks like your theme is creating the problem.
try switching to default theme and see if https is valid, if so you will have to check your theme and correct all errors

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by EvolveWebHosting » Wed Jan 25, 2017 7:36 am

Open the following file:

catalog/view/theme/tt_primave2/template/common/header.tpl and find this code:

<div class="ajax-loader-container" style="display: none;">
<img src="http://kingbarcode.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />
</div>

change http to https here:
<img src="http://kingbarcode.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by drebosio » Fri Jan 27, 2017 12:20 am

EvolveWebHosting wrote:Open the following file:

catalog/view/theme/tt_primave2/template/common/header.tpl and find this code:

<div class="ajax-loader-container" style="display: none;">
<img src="http://kingbarcode.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />
</div>

change http to https here:
<img src="http://kingbarcode.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />

So i went to the above file path and cannot find the code you listed.

Here's what my header.tpl file consists of in that directory:

Code: Select all

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<!--<![endif]-->
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable = no" name="viewport" />
<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 } ?>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="catalog/view/javascript/jquery/jquery-ui.js" type="text/javascript"></script>
<link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/owlcarousel/owl.carousel.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/hozmegamenu/custommenu.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/hozmegamenu/mobile_menu.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/vermegamenu/mobile_menu.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/opcajaxlogin/opcajaxlogin.js" type="text/javascript"></script>
<link href="catalog/view/javascript/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700" rel="stylesheet" type="text/css" />
<link href="catalog/view/theme/tt_primave2/stylesheet/stylesheet.css?v={<?php echo(rand()); ?>/mehlawat}" rel="stylesheet" />
<link href="catalog/view/theme/tt_primave2/stylesheet/animate.css" rel="stylesheet" />
<link href="catalog/view/theme/tt_primave2/stylesheet/opentheme/hozmegamenu/css/custommenu.css" rel="stylesheet" />
<link href="catalog/view/theme/tt_primave2/stylesheet/opentheme/css/owl.carousel.css" rel="stylesheet" />
<script src="catalog/view/javascript/jquery/elevatezoom/jquery.elevatezoom.js" type="text/javascript"></script>
<script src="catalog/view/javascript/opentheme/ocslideshow/jquery.nivo.slider.js" type="text/javascript"></script>
<link href="catalog/view/javascript/jquery/css/jquery-ui.css" rel="stylesheet" media="screen" />
<link href="catalog/view/theme/tt_primave2/stylesheet/opentheme/oclayerednavigation/css/oclayerednavigation.css" rel="stylesheet">
<link href="catalog/view/theme/tt_primave2/stylesheet/opentheme/opcajaxlogin/css/opcajaxlogin.css" rel="stylesheet">
<script src="catalog/view/javascript/opentheme/oclayerednavigation/oclayerednavigation.js" type="text/javascript"></script>
<?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="catalog/view/javascript/common.js" type="text/javascript"></script>
<?php foreach ($scripts as $script) { ?>
<script src="<?php echo $script; ?>" type="text/javascript"></script>
<?php } ?>
<?php echo $google_analytics; ?>
<script type="text/javascript">
    $(document).ready(function() {
        $("*").find("a[href='"+window.location.href+"']").each(function(){
            $(this).addClass("current");
    });
});
</script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>

</head>
<body class="<?php echo $class; ?>">



<header>
	
	<div class="top-header mehlawat_top_header_info_account">
		<div class="container mehlawat_top_header_container">
			<div class="row mehlawat_top_header_row">
				
				<div class="col-md-6 col-sm-6 col-xs-12 col-sm-offset-6 col-md-offset-6 mehlawat_top_header_row_email_tel_account">
					<div class="row">
					
						<div class="col-md-5 col-sm-4 col-xs-4 mehlawat_top_header_row_email">
							<div class="email infor">
								<em class="fa fa-envelope">&nbsp;</em><a href="mailto:sales@kingbarcode.com">Sales@Kingbarcode.com</a>
							</div>
						</div>						
						<div class="col-md-4 col-sm-4 col-xs-4 mehlawat_top_header_row_tel">
							<div class="phone infor"><em class="fa fa-phone">&nbsp;</em><?php echo $telephone;?></div>
						</div>						
						<div class="col-md-3 col-sm-4 col-xs-4 mehlawat_top_header_row_account">
							<div class="top-link mehlawat_top_header_row_accounts_link" id="top-links">
								<div class="top-currency"><?php //echo $currency; ?></div>
								<div class="top-language"><?php //echo $language; ?></div>
								<ul class="menu dropit">
									<li class="dropit-trigger"><a href="<?php echo $account; ?>" title="<?php echo $text_account; ?>" class="dropdown-toggle" data-toggle="dropdown"><span class="account-dropdown"><?php echo $text_account; ?></span> <span class="caret"></span></a>
									  <ul class="menu_link ul-account">
										<?php if ($logged) { ?>
										<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
										<li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
										<li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
										<li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><?php echo $text_checkout; ?></a></li>
										<li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
										<li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li>
										<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
										<li><a id="a-logout-link" href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
										<?php } else { ?>
										<li><a id="a-register-link" href="<?php echo $register; ?>"><?php echo $text_register; ?></a></li>
										<li><a id="a-login-link" href="<?php echo $login; ?>"><?php echo $text_login; ?></a></li>
										<?php } ?>
										
									  </ul>
									</li>
								  </ul>
							</div>
						</div>
					</div>
				</div>
				
			</div><!-- row -->
        </div><!-- container -->
    </div><!-- top-header -->
	
	
	<div class="clearfix visible-xs-block mehlawat_clearfix01"></div>
	
	<div class="bottom-header mehlawat_bottom_header_logo_search_cart">
        <div class="container  mehlawat_bottom_header_container">
            <div class="row  mehlawat_bottom_header_row">
				
				<div class="col-md-4 col-sm-3 col-xs-12 mehlawat_bottom_header_row_logo">
					<div id="logo" class="col-xs-12 col-md-3 col-sm-12">
					  <?php if ($logo) { ?>
					  <a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
					  <?php } else { ?>
					  <h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
					  <?php } ?>
					</div>
				</div>
				<div class="col-md-8 col-sm-8 col-xs-12 mehlawat_bottom_header_row_search_cart">
					<div class="row mehlawat_bottom_header_row_search_cart_row">
						<div class="col-md-8 col-sm-8 col-xs-7 mehlawat_top_header_cart">
							<?php echo $top_search;?>
						</div>
						<div class="col-md-4 col-sm-4 col-xs-5 mehlawat_top_header_row_email">
							<?php echo $cart; ?>
						</div>
					</div>
				</div>
				
			</div><!-- row -->
        </div><!-- container -->
    </div><!-- top-header -->

	<div class="clearfix visible-xs-block mehlawat_clearfix01"></div>


    <div class="top-menu">
        <div class="container">
            <div class="row">
                <div class="col-xs-12 col-md-3 col-sm-12"></div>
                <div class="col-xs-12 col-md-9 col-sm-12">
                    <?php echo $top_menu;?>
                </div>
            </div>
        </div>
    </div>
</header>

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am

Post by EvolveWebHosting » Fri Jan 27, 2017 2:12 am

Is there a vqmod or ocmod file along with this theme? I'm not familiar with the particular theme but they may have included the notification code on every page and not the header file (category, product, information, account, etc).

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by drebosio » Fri Jan 27, 2017 3:18 am

You know, i'm not entirely sure, there was some stuff already installed when I took over this project.

I checked and see both vqmod and ocmod.

If it's easier EvolveWebHosting, i can setup a temp ftp and if you wouldn't mind taking a look for me, i'd greatly appreciate it.

I honestly have no idea where else to check for this stupid image, i swear if this is the only reason i'm not getting my "secure" padlock image i'm gonna be so annoyed >.<


****
Upon further investigation i came across a .sql file and within it i'm able to find where they're calling the "AjaxLoader.gif" but it's being called like this:

Code: Select all

(2459, 0, 'opcajaxlogin', 'opcajaxlogin_loader_img', 'catalog/AjaxLoader.gif', 0),
(639, 0, 'ocsearchcategory', 'ocsearchcategory_loader_img', 'catalog/AjaxLoader.gif', 0),
(821, 0, 'oclayerednavigation', 'oclayerednavigation_loader_img', 'catalog/AjaxLoader.gif', 0),
which lead me to 3 other files
  • occategorythumbnail.ocmod.xml
  • occategorythumbnail.ocmod.xml
  • ocsearchcategory.ocmod.xml
but here is where i hit a dead end.

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am

Post by EvolveWebHosting » Fri Jan 27, 2017 3:44 am

It looks like your issue is within the ocmod files. You can send FTP access to sales@evolvewebhost.com and I can look.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by drebosio » Fri Jan 27, 2017 4:49 am

Will do, thanks for all your help!

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am
Who is online

Users browsing this forum: No registered users and 64 guests